Ubuntu8.04 use the root account and enable Chinese [Figure]

Source: Internet
Author: User
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"

Related Article

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.