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.