[问题]新手求助,root登录界面怎么全是英文
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 192
- 注册时间: 2008-03-21 16:03
- 来自: 湖北宜昌
[问题]新手求助,root登录界面怎么全是英文
我用用户名登录,界面是中文,但以root身份界面却全是英文。怎样将root身份的语言也设置成简体中文。
-
- 帖子: 34
- 注册时间: 2006-03-03 10:34
- hughalex
- 帖子: 16
- 注册时间: 2007-05-22 0:13
修改root下隐藏文件.profile文件最后两句,以下是修改过的,鸟哥的书是好东西
# ~/.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"
# ~/.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"
-
- 帖子: 192
- 注册时间: 2008-03-21 16:03
- 来自: 湖北宜昌
-
- 帖子: 5
- 注册时间: 2007-07-08 11:54
-
- 帖子: 192
- 注册时间: 2008-03-21 16:03
- 来自: 湖北宜昌
- cocomama
- 帖子: 869
- 注册时间: 2007-04-05 17:57
- 来自: 吉林──>海南──>大连──>延边──>北京──>德黑兰──>(x,y)
- hughalex
- 帖子: 16
- 注册时间: 2007-05-22 0:13
-
- 帖子: 3
- 注册时间: 2008-05-02 16:01
正解。谢谢hughalex 写了:修改root下隐藏文件.profile文件最后两句,以下是修改过的,鸟哥的书是好东西
# ~/.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"