Ubuntu13.10 configure root login

Source: Internet
Author: User
Ubuntu13.10 by default, root logon is not allowed. To use root permissions, you must use the sudo command for execution, which is cumbersome. To solve this problem, two steps are required: 1. Set the root password and enable the default root password for the root account ubuntu. It is said that the default root password is automatically changed every 5 minutes. Therefore, you must first change the root password, set to a fixed value: $ sudopasswdroot enter the new password twice as prompted.

By default, Ubuntu 13.10 does not allow root logon. To use root permissions, you must run the sudo command, which is cumbersome.

To solve this problem, two steps are required:

1. Set the root password and enable the root account.

The Default root Password of ubuntu is automatically changed every 5 minutes. Therefore, you must first change the root password to a fixed value:

$ Sudo passwd root

Enter the new password twice as prompted. In this case, you can use root to log on;

Logon method: $ su or sudo-s

Then, enter the password as prompted to log on to the terminal as root;

2. Modify the lightdm Configuration

Log on to the root account and modify the/etc/lightdm. conf. d/10-ubuntu.conf file.

(It seems that you can modify 50-unity-greeter.conf or several other configuration files. You have not tried it. If you are interested, try it ..) :

Vim/etc/lightdm. conf. d/10-ubuntu.conf

Add: greeter-show-manual-login = true

Allow-guest = true

Ubuntu 10.04 is used to modify the/etc/lightdm. conf file.

Gre: greeter-show-manual-login = true # allow manual input of the user name and password used to log on to the system

Allow-guest = true # allow guest logon, which can be modified as needed

After saving and restarting, you can log on to the system by entering the user name root.

Update address: http://www.linuxidc.com/Linux/2013-11/92238.htm

Recommended reading:

Ubuntu 13.04 set root User Login graphical interface http://www.linuxidc.com/Linux/2013-04/82672.htm

Ubuntu 13.04 Installation notes and root password settings http://www.linuxidc.com/Linux/2013-04/83550.htm

Download, install, and configure Ubuntu 13.10Page http://www.linuxidc.com/Linux/2013-10/91564.htm

Ubuntu 13.04 text tutorial on hard drive installation in Windows 7Http://www.linuxidc.com/Linux/2013-04/83479.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.