Ubuntu 16.04 Enable Root user method

Source: Internet
Author: User

Reference: http://blog.csdn.net/sunxiaoju/article/details/51993091

1. Use: sudo passwd root to set the root password as shown in:

2. Use SU root to test if you can enter the root user, if the # description has been set to the root user's password successfully, as shown in:

3. Go to the/usr/share/lightdm/lightdm.conf.d/directory and open the 50-unity-greeter.conf file using the gedit 50-unity-greeter.conf & command as shown in:

4, in the open file to add the following information, to set the login can select the user login, as shown in:

User-session=ubuntu
Greeter-show-manual-login=true
All-guest=false

5, restart the system, you can enter the user name information, as shown in:

6. Enter the root user name and password as shown in:

7. This appears: Error found when reading/root/.profile, dialog box as shown:

8, click the OK button, enter the system, use the Vi/root/.profile command to modify the file, find MESG N, modified to: Tty-s && mesg N, as shown:

9, Save the exit, and then restart the system.

Ubuntu 16.04 Enable Root user method

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.