This account is currently not available.

root登陆到linux上后,使用su切换用户报错:

This account is currently not available.

解决方法

#  usermod -s /bin/bash hdfs
# su - hdfs
Last login: Thu Jun  1 10:31:26 CST 2023 on pts/0
[hdfs@test-135 ~]$

你可能感兴趣的:(linux,linux,运维,服务器)