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 https://wiki.ubuntu.com/LightDM

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
    Permalink

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

    Reply
    • December 9, 2017 at 7:23 pm
      Permalink

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

      Reply
  • January 27, 2018 at 1:27 pm
    Permalink

    thanks for your support from Terminal IT Solutions Kerala INDIA

    Reply
  • September 10, 2018 at 3:23 pm
    Permalink

    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

    Reply

Leave a Reply

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