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 is the founder and Editor-in-Chief of How-To Geek. He spends all his free time making sure this site can bring you fresh geekery on a daily basis, and has been doing so for over eleven years.