sudo su -

Oliver Grawert ogra at
Mon Feb 13 12:23:13 UTC 2017

Am Montag, den 13.02.2017, 12:06 +0000 schrieb thufir:
> To switch to root, this is reasonable?
> thufir at doge:~$ 
> thufir at doge:~$ sudo su -
> root at doge:~# 
> root at doge:~# pwd
> /root
> root at doge:~# 

rather "sudo -s" or "sudo -i" 

su resets the environment to a non standard thing, better trust sudo to
do the right thing here...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list