From 78f32c2f2854cab01992c589c5175e98f6454316 Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 10 Sep 2015 21:46:23 +0200 Subject: [PATCH] Added screen output for /etc/login.conf --- include/tests_authentication | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tests_authentication b/include/tests_authentication index ae113f1b..251060d1 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -972,11 +972,12 @@ if [ ${WEAK_UMASK} -eq 0 ]; then Display --indent 4 --text "- Checking umask (/etc/login.conf)" --result OK --color GREEN else + Display --indent 4 --text "- Checking umask (/etc/login.conf)" --result WEAK --color YELLOW ReportSuggestion ${TEST_NO} "Umask in /etc/login.conf could be more strict like 027" fi else logtext "Result: no umask setting found in /etc/login.conf, which is unexpected" - Display --indent 4 --text "- Checking umask (/etc/login.conf)" --result "NONE" --color YELLOW + Display --indent 4 --text "- Checking umask (/etc/login.conf)" --result NONE --color YELLOW fi fi