Ubuntu Keylin 14.04 How to turn on root user login
Ubuntu (Bantu) is a desktop application-oriented Linux operating system. Ubuntu is based on the Debian distribution and GNOME desktop environment, and from version 11.04, the Ubuntu release has abandoned the GNOME desktop environment to unity, unlike Debian, which releases a new version every 6 months.
Ubuntu-kylin China's customized Ubuntu Desktop Linux system, incorporating the unique features of China.
Ubuntu cannot be logged in as root by default, and it is cumbersome for individuals to have no root user privileges. Here I will introduce Ubuntu Keylin 14.04 to open the root user login, if there is a need for students to learn together!!!
Tools/Materials
Method/Step
To set a password for the root user
Install complete if you want to log in as root, you can open the terminal and enter the following command: #设置root密码sudo passwd root
Enter the current user password and enter the root password set two times;
#切换到root用户sudo-S
Enter the root password to enter the root terminal
Set the login panel to enable root login
You can edit the/usr/share/lightdm/lightdm.conf.d/50-in the/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf directory by logging in as root using the login screen ubuntu.conf files, such as without this file, are created directly/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf into/usr/share/lightdm/lightdm.conf.d/
cd/usr/share/lightdm/lightdm.conf.d/
The final content of the edited 50-ubuntu.conf file is: [Seatdefaults]user-session=ubuntu
Autologin-user=rootgreeter-session=unity-greetegreeter-show-manual-login=truallow-guest=false
After modification, execute the reboot command to restart Ubuntu in effect;
Automatically log in as root after startup autologin-user=root# manually enter the login system username and password greeter-show-manual-login=true# disable guest user Allow-guest=false
Restart Ubuntu
command line input reboot Enter, wait for restart;
After startup, the default root user is logged in.
(reproduced) Ubuntu Keylin 14.04 How to turn on root user login