diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-01-14 20:49:49 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-01-14 20:49:49 +0300 |
commit | bca2d00ad79cef58b8143ca4bd53bd7a5d9c8780 (patch) | |
tree | 9a4206eecb4323affacb17eba806cf8acfab1ff4 | |
parent | 750f55bd270ac6c5f9f484a8c9dcb0f0e633f650 (diff) |
Added STATUS_WEAK
-rw-r--r-- | include/tests_authentication | 4 | ||||
-rw-r--r-- | 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 |