Make Ubuntu Stay in Root Mode

Instead of having to constantly type in ‘sudo’ every time you need to make an admin change, you can use one of these commands to act as root.

To switch to full root mode:

sudo -s -H

To switch to using root mode, but still act as your user account:

sudo -s

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.