mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-22 13:24:32 +02:00
Do not show auditd suggestion for OpenVZ systems
This commit is contained in:
parent
1a04109dad
commit
3c3bb2d0db
@ -126,7 +126,9 @@
|
|||||||
else
|
else
|
||||||
logtext "Result: auditd not active"
|
logtext "Result: auditd not active"
|
||||||
Display --indent 2 --text "- Checking auditd" --result "NOT FOUND" --color WHITE
|
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
|
AUDITD_RUNNING=0
|
||||||
report "audit_daemon_running=0"
|
report "audit_daemon_running=0"
|
||||||
AddHP 0 1
|
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…
x
Reference in New Issue
Block a user