By default root user account is disabled for login in Ubuntu. Steps mentioned below will allow you to enable the root user and login as root on the OS.

  1. Login to your account and open Terminal
  2. sudo passwd root
  3. Type in the new password for UNIX
  4. sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
  5. At the end of the file append greeter-show-manual-login = true

That’s all, now reboot the system and you can login to root account using manual login.

If you wish to know more options available for the configuration of the login screen you may visit

Enabling root user in Ubuntu 14.04.3

6 thoughts on “Enabling root user in Ubuntu 14.04.3

  • January 12, 2017 at 7:10 pm

    4 and 5 not taking in terminal
    i am getting cmd not found

    • December 9, 2017 at 7:23 pm

      4th step opens file where you add line from 5th step

  • January 27, 2018 at 1:27 pm

    thanks for your support from Terminal IT Solutions Kerala INDIA

  • September 10, 2018 at 3:23 pm

    Step 4… I guess if its failing then its because you dont have gedit installed. Try:

    sudo nano /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf


Leave a Reply

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