mirror of https://github.com/CISOfy/lynis.git
Style improvements
This commit is contained in:
parent
e54bae0c6d
commit
4886054187
|
@ -61,7 +61,7 @@
|
|||
Report "compiler[]=${ASBINARY}"
|
||||
AddHP 2 3
|
||||
HARDEN_COMPILERS_NEEDED=1
|
||||
else
|
||||
else
|
||||
AddHP 3 3
|
||||
fi
|
||||
fi
|
||||
|
@ -73,7 +73,7 @@
|
|||
Report "compiler[]=${GCCBINARY}"
|
||||
AddHP 2 3
|
||||
HARDEN_COMPILERS_NEEDED=1
|
||||
else
|
||||
else
|
||||
AddHP 3 3
|
||||
fi
|
||||
fi
|
||||
|
@ -105,10 +105,10 @@
|
|||
AddHP 3 3
|
||||
else
|
||||
LogText "Result: no malware scanner found"
|
||||
if [$MACHINE_ROLE = "personal"]; then
|
||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
if [ "${MACHINE_ROLE}" = "personal"]; then
|
||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
else
|
||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
||||
fi
|
||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
||||
ReportSuggestion ${TEST_NO} "Harden the system by installing at least one malware scanner, to perform periodic file system scans" "-" "Install a tool like rkhunter, chkrootkit, OSSEC"
|
||||
|
|
Loading…
Reference in New Issue