diff --git a/include/tests_authentication b/include/tests_authentication index 6519b9cd..d951dcf3 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -1204,8 +1204,8 @@ if [ ${FOUND} -eq 1 ]; then if [ ${WEAK_UMASK} -eq 0 ]; then Display --indent 4 --text "- umask (/etc/login.conf)" --result "${STATUS_OK}" --color GREEN - else - Display --indent 4 --text "- umask (/etc/login.conf)" --result WEAK --color YELLOW + else + 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" fi else diff --git a/include/tests_shells b/include/tests_shells index d2c7e2f2..a218aa6a 100644 --- a/include/tests_shells +++ b/include/tests_shells @@ -263,7 +263,7 @@ Display --indent 4 --text "- Checking default umask in ${FILE}" --result "${STATUS_OK}" --color GREEN AddHP 3 3 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 fi fi