(Reproduced) How to enable root User Logon for Ubuntu keylin 14.04, keylin14.04
How to enable root User Logon for Ubuntu keylin 14.04
Ubuntu is a Linux operating system based on desktop applications. Ubuntu is based on the Debian release and GNOME desktop environments. Starting from version 11.04, the Ubuntu release gave up the Gnome desktop environment and changed it to Unity, different from Debian, Debian releases a new version every six months.
Ubuntu-Kylin is a customized Ubuntu Desktop Linux system.
By default, ubuntu cannot log on with the root user, which is very troublesome for individuals who do not have the root user permission. Here I will introduce how to enable the root user login for Ubuntu keylin 14.04. If you need it, study it together !!!
Tools/Raw Materials
Method/step
-
Set password for root user
If you need to log on as the root user, open the terminal and enter the following command: # Set the root password to sudo passwd root.
Enter the current user password, and then enter the set root password twice;
-
# Switch to the root user sudo-s
Enter the root password and enter the root terminal.
-
Set the logon panel to implement root Login
To log on as a root user on the logon page, you can edit/usr/share/lightdm. conf. d/50-ubuntu.conf directory/usr/share/lightdm. conf. d/50-ubuntu.conf file. If this file is not available, create/usr/share/lightdm directly. conf. d/50-ubuntu.conf enter/usr/share/lightdm. conf. d/
Cd/usr/share/lightdm. conf. d/
Edit the 50-ubuntu.conf file to [SeatDefaults] user-session = ubuntu
Autologin-user = rootgreeter-session = unity-greetegreeter-show-manual-login = truallow-guest = false
After modification, run the reboot command to restart Ubuntu;
Automatically log on to autologin-user = root # manually enter the user name and password greeter-show-manual-login = true # disable guest user allow-guest = false
-
Restart ubuntu
Enter reboot press enter in the command line and wait for restart;
By default, the root user is logged on.