Enable Root User on Ubuntu 16.04.1 LTS

Steps To Enable Root User On Ubuntu 16.04.1 LTS:

1) First of all login your account

2)Open terminal (Alt +Ctrl +T)

3)Set Root user Password 

technhit@technhit-virtual-machine:~$sudo passwd root
[sudo]password for technhit:
Enter UNIX password:
Retype UNIX password:
passwd:password updated successfully
technhit@technhit-virtual-machine:~$

enable-root-ubuntu1

4) Now open file 50-ubuntu.conf with nano command.

technhit@technhit-virtual-machine:~$sudo nano /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

enable-root-ubuntu2

5)Now Add the following line to the end of file:

greeter-show-manual-login=true

enable-root-ubuntu3

6) Press Ctrl +X then press Y to exit

7)Now restart your system and login as root.

enable-root-ubuntu4

Scroll to top