mirror of https://github.com/CISOfy/lynis.git
Added screen output for /etc/login.conf
This commit is contained in:
parent
7d0759297e
commit
78f32c2f28
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue