mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 17:24:32 +02:00
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
|
if [ ${WEAK_UMASK} -eq 0 ]; then
|
||||||
Display --indent 4 --text "- Checking umask (/etc/login.conf)" --result OK --color GREEN
|
Display --indent 4 --text "- Checking umask (/etc/login.conf)" --result OK --color GREEN
|
||||||
else
|
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"
|
ReportSuggestion ${TEST_NO} "Umask in /etc/login.conf could be more strict like 027"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
logtext "Result: no umask setting found in /etc/login.conf, which is unexpected"
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user