aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security_check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh/security_check.sh')
-rwxr-xr-xcron-sh/security_check.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index 9ffc469..0c895ca 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -258,6 +258,15 @@ if [[ ${RPM_CHECK} == yes ]]; then
fi
fi
+### chkrootkit checks
+if [[ ${CHKROOTKIT_CHECK} == yes ]]; then
+
+ if [[ -s ${CHKROOTKIT_TODAY} ]]; then
+ printf "\nChkrootkit report:\n" >> ${SECURITY}
+ cat ${CHKROOTKIT_TODAY} >> ${SECURITY}
+ fi
+fi
+
### Report
if [[ -s ${SECURITY} ]]; then
Syslog ${SECURITY}