1, 修改 VIM /etc/passwd
把对应用户的登陆环境改成,/bin/bash
2, 复制配置
cp -a /etc/skel/. /home/www/
3 再次尝试 su www 有效
来源: http://www.bubuko.com/infodetail-3054596.html