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条