mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-23 05:55:38 +01:00
10 lines
325 B
Bash
10 lines
325 B
Bash
|
# run-shellcheck
|
||
|
test_audit() {
|
||
|
describe Running on blank host
|
||
|
register_test retvalshouldbe 0
|
||
|
register_test contain "[ OK ] ^\s*password\s.+\s+pam_unix\.so\s+.*sha512 is present in /etc/pam.d/common-password"
|
||
|
# shellcheck disable=2154
|
||
|
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
||
|
}
|
||
|
|