FIX(5.4.5.2): explicit sha512

fix #74
This commit is contained in:
Thibault Ayanides 2021-03-15 10:05:49 +01:00 committed by Thibault Ayanides
parent c0ecc9cd6f
commit c50f200c5c

View File

@ -22,7 +22,7 @@ test_audit() {
run lockedpasswd /opt/debian-cis/bin/hardening/"${script}".sh --audit-all run lockedpasswd /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
mv /tmp/shadow.bak /etc/shadow mv /tmp/shadow.bak /etc/shadow
chpasswd <<EOF chpasswd -c SHA512 <<EOF
secaudit:mypassword secaudit:mypassword
EOF EOF
describe Pass: Found properly hashed password describe Pass: Found properly hashed password