Ubuntu12.04root User Logon Settings

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.