Enable Root User in Ubuntu

In Ubuntu, 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-manuallogin = true

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

Tags: ,