[ubuntu-uk] Password recovery

Philip Stubbs philip at stuphi.co.uk
Mon Jul 7 21:19:11 BST 2008

2008/7/7 Lucy <lucybridges at gmail.com>:
> So, in a terminal type:
> sudo mv /home/user2 /home/user2-tmp
> Then go to "System->Administration->Users and Groups" to add user2.
> Then do:
> sudo cp -a /home/user2-tmp/ /home/user2

What I would do is
sudo rm -r /home/user2
sudo mv /home/user2-tmp /home/user2
sudo chown -R user2:user2 /home/user2

replace user2:user2 with the user and group details for user2

Philip Stubbs

More information about the ubuntu-uk mailing list