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.