Login as Root in Ubuntu 11.04

Posted: April 17, 2012 in Tips and Tricks

Login as Root in Ubuntu 11.04 (Natty Narwhal)

This simple tutorial shows you how to login as root (administration) in Ubuntu 11.04 Natty. Even though it’s not recommended to logon to Ubuntu as the administrator, you still have the option to do so if you wish. One big reason why most Linux distributions won’t allow the root user to login is that, root or administrator has complete control of the system. Any small mistake might have huge impact on the stability of your system. So to prevent this, the root account is disabled by default.

Getting started:

To get started,  press Ctrl – Alt – T on your keyboard to open Terminal. Next, type the command below to create a new password for the root user.

sudo passwd root

After that, type the command below to unlock the root account.

sudo passwd -u root

Next, Log Out.

Then select ‘Other’ and type the username ‘root’ and the password you created for the root user.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.