mirror of https://github.com/CISOfy/lynis.git
Added STATUS_WEAK
This commit is contained in:
parent
750f55bd27
commit
bca2d00ad7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue