sudo su -
W Scott Lockwood III
vladinator at gmail.com
Mon Feb 13 12:27:24 UTC 2017
On Feb 13, 2017 06:07, "thufir" <hawat.thufir at gmail.com> wrote:
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:~#
thanks,
Thufir
Sudo by itself makes one less syscall, and gives you this functionality
anyway. Use:
sudo -i # root shell, root's environment
sudo -s # root shell, invoking users environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170213/168b7da0/attachment.html>
More information about the ubuntu-users
mailing list