# openssl passwd -1 "password here" $1$e/5d7DEs$bhFiuOQp8MMe785dzvBPv.Use grub-crypt to generate a SHA256 crypt:
# grub-crypt --sha-256 Password: Retype password: $5$W/DyB05xk2UIZz6k$YyBl36yKHVmaFmJHNS1m/b2/viRa6KnQe3dDQVZZ5n3Put the password hash in your kickstart file:
rootpw --iscrypted password_hashMake sure your authconfig configuration matches the crypt:
authconfig --enableshadow [--enablemd5|--passalgo=sha256]
No comments:
Post a Comment