usermod -s /bin/bash -d/home/test test 如果不生效着配置/etc/profile export PS1='[\u@\h \w]' source /etc/profile