|
In Ubuntu user management using the Debian way, you want to use a terminal or console command after sudo then if we need to use root privileges, and then enter your password and then can be realized.
Ubuntu 8.10 is the default graphical interface does not allow root user login, to only use root user, first open the terminal and type sudo passwd root to set the root user's password, account locked command sudo passwd -l, open account is sudo passwd -u ( lock had previously required, otherwise invalid).
sudo passwd root # prompt lose twice by new password and confirm.
abctest @ abctest-laptop: ~ $ sudo passwd root
Enter new UNIX password:
Re-enter the new UNIX password:
passwd: password updated successfully
abctest @ abctest-laptop: ~ $
Then click on the System - System Management - Login Window menu and switch to the Security tab, and then check under "Allow local administrator login" option.
Through the above two settings, you can now use the root account landing Ubuntu's graphical interface, if you need to disable root account login graphical interface, sudo passwd -l root, or remove the System - System Management - Login Window menu and switch to security tab, and then remove the check under the "allow local administrator login" option.
It is strongly recommended not to use the root account directly, just like Windows Admin * Do not use the same account.
If the account is locked, there is no way to use ssh login or su, sudo -u but can still be used, and the user's files are still there, the owner and other information are displayed or the user, and Windows in the lock on the same account perhaps this time you do not want to let the user log in, or for other reasons. Generally used in user services used, such as apache will use the www-data account, mysql using mysql account, vsftp use ftp accounts, etc., in order to prevent these accounts than people with landing server will lock the account. Of course, you can open these accounts for convenience.
After Ubuntu 8.04 by root before landing a graphical interface, the default interface is in English interface. But when I use 8.10 is Chinese environment, that's great. |
|
|
|