This is just a quick reference for myself. When I want to “su to root” in Ubuntu’s terminal I need to do the follow:
sudo su
[enter password]
Thoughts on Technology, Leadership, and Engineering Management
This is just a quick reference for myself. When I want to “su to root” in Ubuntu’s terminal I need to do the follow:
sudo su
[enter password]
Actually there is a simpler, and more proper method for this task.
sudo -s
That gives you a new shell as root. No need to fork yet another process (su). su is unnecessary on Ubuntu, and could probably be deprecated IMHO.
LikeLike
Thanks Lonnie, I’ll have to remember that!
LikeLike