This tutorial shows you how to enable root user on Ubuntu 16.04.1 Lts. Nowadays Ubuntu becomes a trend on people. Ubuntu community releases their version on April and October in a year. And release LTS (Long Term Support) version once in two years on the month of Apil. Ubuntu 16.04 LTS was released on 21-04-2016 and traditionally it has a name Xenial Xerus. If you notice a little on version number it made up with year and month. In the case of 16.04.1, 16 denotes 2016, 04 is April. And 1 is the extended version of 16.04.
Now move on to the point. unlike every release, root account on Ubuntu 16.04.1 is unset by default. Though, user which you set at the time of installation is a member of sudo. And sudo has superuser privilege. The word sudo denotes to superuser do, by using sudo command you can do almost every task. But some critical cases you need to root user privilege. That’s why we need to enable root user with the manual login.
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
[email protected]:~$sudo passwd root [sudo]password for technhit: Enter UNIX password: Retype UNIX password: passwd:password updated successfully [email protected]:~$
4) Now open file 50-ubuntu.conf with nano command.
[email protected]:~$sudo nano /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
5)Now Add the following line to the end of file:
6) Press Ctrl +X then press Y to exit
7)Now restart your system and login as root.