This account is currently not available.

切换用户出现:
[root@localhost ~]# su username
This account is currently not available.

运用shell修改用户:
命令:usermod -s /bin/bash username

成功解决:
[root@localhost ~]#  usermod -s /bin/bash username
[root@localhost ~]# su  username
[nagios@localhost ~]$ su username

评论0条