在/etc/bash.bashrc 中加入下面4行 stty cs8 -istripstty pass8export LANG=en_US.UTF-8export LC_CTYPE=en_US.UTF-8 然后保证/etc/passwd 里你用户使用的是bash 最后必须重启!!!!!! 就可以了