aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-sh/security.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 41bcf78..3021a78 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -122,6 +122,7 @@ if [[ -s ${SECURITY} ]]; then
mv ${MAIL_LOG_TODAY} ${MAIL_LOG_YESTERDAY};
fi
cat ${MSEC_TMP} > ${MAIL_LOG_TODAY}
+ /usr/sbin/msecperms -q ${MAIL_LOG_TODAY}
Maillog "[msec] *** Security Check on ${REPORT_HOSTNAME}, ${REPORT_DATE} ***" "${MSEC_TMP}"
Notifylog "`eval_gettext \"MSEC has performed Security Check on \\\${REPORT_HOSTNAME} on \\\${REPORT_DATE}. Detailed results are available in \\\${MAIL_LOG_TODAY}\"`"