Added STATUS_WEAK

This commit is contained in:
Michael Boelen 2019-01-14 18:49:49 +01:00
parent 750f55bd27
commit bca2d00ad7
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
2 changed files with 3 additions and 3 deletions

View File

@ -1204,8 +1204,8 @@
if [ ${FOUND} -eq 1 ]; then if [ ${FOUND} -eq 1 ]; then
if [ ${WEAK_UMASK} -eq 0 ]; then if [ ${WEAK_UMASK} -eq 0 ]; then
Display --indent 4 --text "- umask (/etc/login.conf)" --result "${STATUS_OK}" --color GREEN Display --indent 4 --text "- umask (/etc/login.conf)" --result "${STATUS_OK}" --color GREEN
else else
Display --indent 4 --text "- umask (/etc/login.conf)" --result WEAK --color YELLOW Display --indent 4 --text "- umask (/etc/login.conf)" --result "${STATUS_WEAK}" --color YELLOW
ReportSuggestion ${TEST_NO} "Umask in /etc/login.conf could be more strict like 027" ReportSuggestion ${TEST_NO} "Umask in /etc/login.conf could be more strict like 027"
fi fi
else else

View File

@ -263,7 +263,7 @@
Display --indent 4 --text "- Checking default umask in ${FILE}" --result "${STATUS_OK}" --color GREEN Display --indent 4 --text "- Checking default umask in ${FILE}" --result "${STATUS_OK}" --color GREEN
AddHP 3 3 AddHP 3 3
else else
Display --indent 4 --text "- Checking default umask in ${FILE}" --result WEAK --color YELLOW Display --indent 4 --text "- Checking default umask in ${FILE}" --result "${STATUS_WEAK}" --color YELLOW
AddHP 1 3 AddHP 1 3
fi fi
fi fi