Ubuntu8.10root User Configuration

Source: Internet
Author: User
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. Ubuntu8.10 does not allow the root user to log on to the graphic interface by default. To use the root user, first open the terminal and enter sudopasswdroot to set the password of the root user (see figure). The command to lock the account is sudopasswd-l, the account opened is sudopa.

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 (SEE ), the command to lock the account is sudo passwd-l,The account opened is sudo passwd-u(Previously locked).

Sudo passwd root # Enter the new password twice as prompted and confirm the password.

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 menu (SEE), switch to the security options page, and select the "Allow local administrator login" option (see ).

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 (see also ).

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.