If you have a lot of administrative tasks to do, you can temporarily switch to root user at the command prompt, even if you haven't followed Tip 111, on page 160 to permanently enable the root user account login. You have a choice of methods—type either sudo su or sudo -i (the difference is that, with sudo -i, you'll also use the root user's environment settings, so will be switched to the /root folder, for example).
You'll know you're root user because the prompt will change to a hash (#), rather than a dollar sign (treat this as a warning!). To return to being a normal user, just type exit.
Was this article helpful?