查看当前主机的加密算法:

[root@realserver ~]# authconfig --test |grep hashing
password hashing algorithm is sha512

 

设置使用sha512算法:

# authconfig --passalgo=SHA512 --update

最后,所有用户都需要重新设置密码才能生效。可以使用# chage -d 0 root 强制该用户下次登录修改密码。

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-10-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2021-11-07
  • 2021-11-13
相关资源
相似解决方案