diff options
Diffstat (limited to 'include/tests_authentication')
-rw-r--r-- | include/tests_authentication | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index a3c97bff..6186881a 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -927,8 +927,8 @@ ################################################################################# # # Test : AUTH-9284 - # Description : Search locked accounts - Register --test-no AUTH-9284 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking locked accounts" + # Description : Check locked user accounts in /etc/passwd + Register --test-no AUTH-9284 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check locked user accounts in /etc/passwd" if [ "${SKIPTEST}" -eq 0 ]; then LogText "Test: Checking locked accounts" NON_SYSTEM_ACCOUNTS=$(${AWKBINARY} -F : '$3 > 999 && $3 != 65534 {print $1}' /etc/passwd | sort | uniq) @@ -946,11 +946,11 @@ for account in ${FIND3}; do if echo "${NON_SYSTEM_ACCOUNTS}" | grep -w "${account}" > /dev/null ; then LogText "Locked account: ${account}" - Report "locked_account=${account}" + Report "locked_account[]=${account}" fi done Display --indent 2 --text "- Locked accounts" --result "${STATUS_WARNING}" --color RED - ReportWarning "${TEST_NO}" "Found locked accounts" + ReportSuggestion "${TEST_NO}" "Look at the locked accounts and consider removing them" fi fi # |