My own environment is Ubuntu8.04. Ubuntu uses the Debian user management method. When you need to use the root permission, run sudo on the terminal or console and then enter your own password. Sudopasswdroot is used to set the password of the root user to enable the root account. () Linuxidc @ linuxidc-laptop :~ $ Sudopasswdroot [sudo] passwordf is used in Ubuntu 8.04.
Ubuntu uses the Debian user management method. When you need to use the root permission, run sudo on the terminal or console and then enter your own password.
Sudo passwd root is used to set the password of the root user to enable the root account. ()
Linuxidc @ linuxidc-laptop :~ $ Sudo passwd root
[Sudo] password for linuxidc:
Enter a new UNIX Password:
Enter a new UNIX Password:
Passwd: the password is successfully updated.
Enter the new password twice as prompted and confirm the password.
The account to be locked is sudo passwd-l, and the account to be opened is sudo passwd-u (which must have been locked before; otherwise, the account is invalid ).
We strongly recommend that you do not directly use the root account, just as Windows does not easily use the admin * account.
However, after you enable the root account to log on, the System Displays full English, which makes it difficult for me to do so. What should I do. It is actually very easy to pull.
You only need to modify the hidden file under root. The last two sentences of the profile file are as follows.
#~ /. Profile: executed by Bourne-compatible login shells.
If ["$ BASH"]; then
If [-f ~ /. Bashrc]; then
.~ /. Bashrc
Fi
Fi
Mesg n
# Installed by Debian Installer:
# No localization for root because zh_CN.UTF-8
# Cannot be properly displayed at the Linux console
LANG = "zh_CN.UTF-8"
LANGUAGE = "zh_CN: zh"