给www用户添加登录权限

usermod -s /bin/bash www
echo 'www:123456' | chpasswd
原文地址:https://www.cnblogs.com/lixingbaophp/p/9842603.html