Ubuntu8.10root User Configuration

Source: Internet
Author: User
Article Title: Ubuntu8.10root user configuration. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

In Ubuntu, Debian user management is used. If we need to use root permission, we need to use sudo on the terminal or console to run the command, and then enter our own password.

By default, Ubuntu 8.10 does not allow the root user to log on to the graphic interface. To use the root user, first open the terminal and enter sudo passwd root to set the password of the root user, the command used to lock the account is sudo passwd-l, and the account opened is sudo passwd-u (the Account must have been locked before, otherwise it is invalid ).

Sudo passwd root # Enter the new password twice as prompted and confirm the password.
Linuxidc @ linuxidc-laptop :~ $ "> Linuxidc @ linuxidc-laptop :~ $ Sudo passwd root
Enter a new UNIX Password:
Enter a new UNIX Password:
Passwd: the password is successfully updated.
Linuxidc @ linuxidc-laptop :~ $

Click system> System Management> logon window, switch to the security options page, and select the "Allow Local Administrator Logon" option.

Through the above two steps, you can now use the root account to log on to the Ubuntu GUI. If you need to disable the root account to log on to the GUI, sudo passwd-l root, you can also remove the system-system management-Logon Window menu, switch to the security option page, and then remove the "Allow local administrator login" option under the selected menu.

We strongly recommend that you do not directly use the root account, as if you do not use the Admin * account for Windows.

 

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.