Ubuntu12.04.02 root user login settings
Ubuntu12.04.02 default does not allow root login, and visitors can only see the average user to log in the login window. After landing Ubuntu ordinary identity we need to make some changes.
Step 1: After the user logs in general, modify the system configuration files need to switch to supervisor mode after the transport command input terminal inside the window:
$sudo -s
Step 2: mounting system and enter the password when Ubuntu12.04.02 set to enter the root privilege level.
Step 3: Perform the terminal window
$gedit /etc/lightdm/lightdm.conf
Step 4: Remove the entire contents of the text and paste the following seven lines:
[SeatDefaults]
allow-guest=false
autologin-user=root
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=unity-greeter
Step 5: Then we start the root account:
$ sudo passwd root
Step 6: root prompted, enter the account password. (Note: Linux, enter the password unsigned display)
Step 7: Restart ubuntu, no need to manually enter the root user name and password, the system will automatically enter the root user.
Original link: https://www.forlinx.com/article_view_295.html