reinstall or just change name

Michał Giyński michal at
Sun Jan 25 08:53:08 UTC 2015

On 23.01.2015 11:12, Gary J. Kirkpatrick wrote:
> I am selling my little laptop.  Should I reinstall the operating 
> system, which I presume would be a better way to remove my files 
> (albeit imperfect) or should I just change the user name/password?
> If the latter should I make a new user then delete myself as user? 
> would that delete my files?
> What are the commands to change user name and password?
> thanks
> garyk
> -- 
> See my art <> For prints 
> <> My blog 
> <> Facebook 
> <>
To delete all drive from disk drive boot from LiveCD (any distro) and 
write whole disk with "zeros":
#dd if=/dev/zero of=/dev/sdx
where sdx is your disk drive.
This command will erase all your data from disk. Next install new system 
and sell a computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list