undo sudo

Nils Kassube kassube at gmx.net
Wed May 21 21:40:38 UTC 2008

Mario Vukelic wrote:
> To start a root shell, but keep the current shell's environment, use:
> sudo -s     (equivalent to sudo su)

I think there is something mixed up. If I use "sudo su", my $HOME is set 
to /root, not /home/nils. But with "sudo -s" my $HOME is /home/nils.


More information about the ubuntu-users mailing list