今天碰到一个问题,某个用户无法登陆,用cat /etc/passwd 查看了一下变成了nologin 使用usermod -s /bin/bash username 变更成/bin/bash 不懂是啥意思,先记录下来!