Ubuntu12.04 by default, root login is not allowed. Only common users and visitors can be seen in the logon window. After logging on to Ubuntu as a normal user, we need to make some modifications. After logging on to a common user, we need to switch to the Super User Mode to modify the system configuration file. In the terminal window, enter: sudo-s. enter the login password of a common user and press enter to enter the root user permission mode. Run vi/etc/lightdm. con.
Ubuntu 12.04Not allowed by defaultRootLogin, only common users and visitors can be seen in the login window. After logging on to Ubuntu as a normal user, we need to make some modifications,After a common user logs on, the system configuration file needs to be changed to the superuser mode. In the terminal window, enter sudo-s. enter the login password of a common user and press enter to enter the root user permission mode.
Run vi/etc/lightdm. conf.
AddGreeter-show-manual-login = true allow-guest = false.The entire modified configuration file is
[SeatDefaults]
Greeter-session = unity-greeter
User-session = ubuntu
Greeter-show-manual-login = true # manually enter the user name and password for logging on to the system
Allow-guest = false #Not AllowedGuestLogin
Then we startRootAccount:
Sudo passwd root
Enter the password of the roott account as prompted.
RestartUbuntuIn the logon window"Login"In this case, we can useRootLog on.