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 ~]$
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 ~]$