Linux 切换用户 This account is currently not available 错误
解决办法:usermod -s /bin/bash username
例:
[root@hadoop1 apptrack]# su - hbase
This account is currently not available.
[root@hadoop1 apptrack]#
usermod -s /bin/bash hbase
[root@hadoop1 apptrack]# su - hbase
-bash-4.1$
OK 切换用户成功