解决passwd 为普通用户设密码 不成功的方法

echo "xxxxxxxxx"|passwd --stdin user_name
#这样设置密码就可以成功!
原文地址:https://www.cnblogs.com/bass6/p/6116638.html