From bca2d00ad79cef58b8143ca4bd53bd7a5d9c8780 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 14 Jan 2019 18:49:49 +0100 Subject: Added STATUS_WEAK --- include/tests_authentication | 4 ++-- include/tests_shells | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3