mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
IMP(6.2.2,6.2.3,6.2.4): add purposely failing tests
This commit is contained in:
@ -21,7 +21,7 @@ RESULT=''
|
||||
audit () {
|
||||
info "Checking if accounts have a legacy password entry"
|
||||
if $SUDO_CMD grep '^+:' $FILE -q; then
|
||||
RESULT=$(grep '^+:' $FILE)
|
||||
RESULT=$($SUDO_CMD grep '^+:' $FILE)
|
||||
crit "Some accounts have a legacy password entry"
|
||||
crit $RESULT
|
||||
else
|
||||
|
Reference in New Issue
Block a user