mirror of https://github.com/CISOfy/lynis.git
Do not show auditd suggestion for OpenVZ systems
This commit is contained in:
parent
1a04109dad
commit
3c3bb2d0db
|
@ -126,7 +126,9 @@
|
|||
else
|
||||
logtext "Result: auditd not active"
|
||||
Display --indent 2 --text "- Checking auditd" --result "NOT FOUND" --color WHITE
|
||||
ReportSuggestion ${TEST_NO} "Enable auditd to collect audit information"
|
||||
if [ ! "${VMTYPE}" = "openvz" ]; then
|
||||
ReportSuggestion ${TEST_NO} "Enable auditd to collect audit information"
|
||||
fi
|
||||
AUDITD_RUNNING=0
|
||||
report "audit_daemon_running=0"
|
||||
AddHP 0 1
|
||||
|
@ -427,4 +429,4 @@ wait_for_keypress
|
|||
|
||||
#
|
||||
#================================================================================
|
||||
# Lynis - Copyright 2007-2015, Michael Boelen - http://cisofy.com - The Netherlands
|
||||
# Lynis - Copyright 2007-2015, Michael Boelen / CISOfy - https://cisofy.com
|
||||
|
|
Loading…
Reference in New Issue