aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/diff_check.sh (renamed from cron-sh/file_check.sh)11
-rwxr-xr-xcron-sh/security_check.sh1
2 files changed, 3 insertions, 9 deletions
diff --git a/cron-sh/file_check.sh b/cron-sh/diff_check.sh
index 9ff094f..0388c76 100755
--- a/cron-sh/file_check.sh
+++ b/cron-sh/diff_check.sh
@@ -1,7 +1,6 @@
#!/bin/bash
-
#
-# Basic security checking for suid files.
+# is that the check contained in this one ( file_check ) are
# Written by Vandoorselaere Yoann, <yoann@mandrakesoft.com>
#
@@ -230,12 +229,8 @@ fi
if [ -s ${TMP} ]; then
Syslog ${TMP}
Ttylog ${TMP}
+ date=`date`
+ echo -n "\n\n*** ${date} ***\n" >> ${SECURITY_LOG}
cat ${TMP} >> ${SECURITY_LOG}
rm -f ${TMP}
fi
-
-
-# We launch our other report engine :)
-/etc/security/msec/cron-sh/security_check.sh
-
-
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh
index 6c174d8..3c72d3d 100755
--- a/cron-sh/security_check.sh
+++ b/cron-sh/security_check.sh
@@ -1,7 +1,6 @@
#!/bin/bash
#
-# Basic security checking for suid files.
# Written by Vandoorselaere Yoann, <yoann@mandrakesoft.com>
#