undo sudo

NoOp glgxg at sbcglobal.net
Thu May 22 02:07:22 UTC 2008


On 05/21/2008 02:40 PM, Nils Kassube wrote:
> 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.
> 

su





More information about the ubuntu-users mailing list