How to Enable Root User Account in Ubuntu

Root user account isn’t enabled by default in Ubuntu. Users are encouraged to use sudo instead. You can enable root user though by using command-line. Open terminal and execute the following to enable root user:

sudo passwd root

You’ll be asked for root password. Provide a password. And you’re done. You can now switch to root user any time you want by typing the following in terminal:

su –

This way you will have the root access.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s