aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-08 12:00:22 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-08 12:00:22 +0000
commit27d842aa9fa2e9fc83b49da73bb8cbaea89220e2 (patch)
tree66bc80fb5d10f8dd1024abbb99ec99984002d31c /cron-sh
parentb9b97333067488941954d9991d8dd47c9b2fb9d1 (diff)
downloadmsec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar
msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar.gz
msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar.bz2
msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar.xz
msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.zip
*** empty log message ***
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>
#