Centos6.5 modify the language of a common user
When installing centos, select the Chinese environment and create two new users, one isRootUser, one isTestUser. However, after the installation is complete, I want to modify the environment to English. After searching, I found that vim can be modified./Etc/sysconfig/i18n, Change LANG = "zh_CN.UTF-8" to LANG ="En_US.UTF-8", Save and complete the modification. After restart, the root user interface becomes English, but the test user interface is still Chinese. Then I delete the test user, another user, also called test, was created and started to enter the test user interface. It was found that it was still a Chinese environment, so it was depressing. After Continuous testing, it was found that the following method is feasible:
[Root user] #Vim/etc/profile
Find the export Statement and add it before the statementLANG = en_US.UTF-8 ″
Append LANG to the export.
Export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRCLANG
Save the configuration and re-enter the test user interface. The modification is successful.