sudo su -

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


hi,
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...

ciao
	oli
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170213/d0226483/attachment.pgp>


More information about the ubuntu-users mailing list