recovery from stupid error

Ante Karamatić ivoks at grad.hr
Thu Jul 14 00:44:26 CDT 2005


On Thu, 2005-07-14 at 15:25 +1000, skaller wrote:

> The result is catastrophic: 

Not quite. If you delete users home (or even entire /home structure),
users will still be able to login. If that was an admin user, then with
sudo you can do all the work, and you should do only this:

sudo mkdir /home/$username
sudo chown $username.$usergroup /home/$username
sudo chmod 07[5|0]0 /home/$username
sudo rm -rf /tmp/*$username*

And the problem is solved.

This is question for -users, not -devel. Please, next time post there.

Thank you.

-- 
Ante Karamatic|--|ivoks(@)grad.hr|--|PGP: D3BDA225
http://master.grad.hr/~ivoks/|--|ICQ: 64631782
May, 15. <herve> we're fixing the universe, it's not an easy duty!




More information about the ubuntu-devel mailing list