mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-24 11:34:35 +02:00
FIX: change name to fit check content (cracklib -> pwquality)
renamed: bin/hardening/5.3.1_enable_cracklib.sh -> bin/hardening/5.3.1_enable_pwquality.sh renamed: tests/hardening/5.3.1_enable_cracklib.sh -> tests/hardening/5.3.1_enable_pwquality.sh
This commit is contained in:

committed by
Thibault Ayanides

parent
de3da21a38
commit
c0e9b96ffc
14
tests/hardening/5.3.1_enable_pwquality.sh
Normal file
14
tests/hardening/5.3.1_enable_pwquality.sh
Normal file
@ -0,0 +1,14 @@
|
||||
# run-shellcheck
|
||||
test_audit() {
|
||||
|
||||
apt update
|
||||
apt-get install -y libpam-pwquality
|
||||
|
||||
describe Running on blank host
|
||||
register_test retvalshouldbe 0
|
||||
dismiss_count_for_test
|
||||
# shellcheck disable=2154
|
||||
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
||||
|
||||
# TODO fill comprehensive tests
|
||||
}
|
Reference in New Issue
Block a user