Enable Login as Root in Ubuntu 12.04 Precise Pangolin/11.10 Oneiric Ocelot

By Umair Sunday, May 13, 2012

Want to enable root logon in Ubuntu 12.04? Well, even though it’s not recommended, it’s still possible to login with the root or administrator account, and this brief tutorial is going to show you how. The reason it’s not recommended is simple; because people make mistakes. Making the smallest mistakes in Ubuntu while login as the root user can completely render your computer inoperable. Besides damaging your system, it also creates security risks to login as the root user. Enable Login as Root in Ubuntu 12.04Precise Pangolin/11.10 Oneiric Ocelot

If you still want to login as the root user after all the risks I mentioned above, then continue below to learn how.

To Enable root, open Terminal and enter following commands:
sudo passwd root
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
Now Restart your pc and login as root.

ubuntu root


Bio: There is a lot information about Linux Geeks on the Internet.

8 comments to ''Enable Login as Root in Ubuntu 12.04 Precise Pangolin/11.10 Oneiric Ocelot"

  1. This is unnecessary - if you are logged as non-root, you will be asked for then password when it is required.

  2. ... unless you just don't want to be nagged with repeated password prompts.

  3. when one wants to do a multi stage install for Drupal, ie installing apache2, php5, ssh and MySQL then the Drupal you must be root to do all this using su or sudo or gksu just doesnt cut it.

  4. Thanks, i need it. Works perfect.

  5. sudo -i
    and you will not be nagged with