mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-24 22:41:24 +01:00
parent
c0ecc9cd6f
commit
c50f200c5c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user