on
it
road
.com
解决方法
- 检查当前的哈希算法:
# authconfig --test| grep hash password hashing algorithm is sha512
- 更改默认密码哈希算法:
# authconfig --passalgo=md5 --update
或者
# authconfig --passalgo=sha5 --update
注意:passwd/shadow 文件中的新算法将应用到下次执行 passwd 命令。
问题
如何在 CentOS/RHEL 系统上更改密码散列算法。
日期:2020-09-17 00:13:55 来源:oir作者:oir