红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu8.04中root帐户启用中文

发布时间:2008-09-04 00:15:41来源:红联作者:Cuibtoy
ubuntu默认是不能以root登录,但开启root帐户登录后系统完全显示的是英文,给像我这样英文不好的带来了麻烦,怎么办呢。其实很简单拉。

只要修改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"
文章评论

共有 0 条评论