Added screen output for /etc/login.conf

This commit is contained in:
mboelen 2015-09-10 21:46:23 +02:00
parent 7d0759297e
commit 78f32c2f28
1 changed files with 2 additions and 1 deletions

View File

@ -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