su 切换ivalue用户时,提示"This account is currently not available";

首先进入/etc/passwd文件中是否添加ivalue用户,发现ivalue用户时候存在;

cat /etc/passwd | grep ivalue

su 切换用户的提示"This account is currently not available"

我们发现发现该用户不允许登录系统,所以导致我们su 切换时候报错

我们将“/sbin /nologin”,改成"/bin/bash"保存

再次切换,切换成功;

su 切换用户的提示"This account is currently not available"

相关文章:

  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2021-06-24
  • 2021-12-11
  • 2022-01-16
  • 2021-11-28
  • 2021-12-20
猜你喜欢
  • 2022-12-23
  • 2022-02-20
  • 2021-12-26
  • 2021-09-03
  • 2021-10-26
相关资源
相似解决方案