Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-05-26 12:11:42 +0300
committermboelen <michael@cisofy.com>2015-05-26 12:11:42 +0300
commit3c3bb2d0db067a69574d3bcfbd732c197e9c3d56 (patch)
tree2d3916ac8d1c7d90f6eefb44caa8755839b8dce4 /include/tests_accounting
parent1a04109daddb3c264a44d1d98c04b0fe82102972 (diff)
Do not show auditd suggestion for OpenVZ systems
Diffstat (limited to 'include/tests_accounting')
-rw-r--r--include/tests_accounting6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/tests_accounting b/include/tests_accounting
index 2b5e5048..d32f4b33 100644
--- a/include/tests_accounting
+++ b/include/tests_accounting
@@ -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