Linuxでログイン出来ないユーザをログイン出来るように変更する

1
2
$ su testuser
This account is currently not available.

↑こんなヤツが出る場合

testuserには「/sbin/nologin」が設定されている
なので「/bin/bash」に変更して上げる

$ usermod -s /bin/bash testuser


Thanks for the link.
http://server-setting.info/centos/login_user.html