aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-19 22:01:42 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-19 22:01:42 +0000
commit9462b01a73b09181fdffb14164100168fe3b3ea7 (patch)
tree4578ad64280a9157278f7b77ec98d93aa01c42e4 /cron-sh/security.sh
parenta6e4b3bd9ee2e545bb1e6a0dbfd5927336b24c0a (diff)
downloadmsec-9462b01a73b09181fdffb14164100168fe3b3ea7.tar
msec-9462b01a73b09181fdffb14164100168fe3b3ea7.tar.gz
msec-9462b01a73b09181fdffb14164100168fe3b3ea7.tar.bz2
msec-9462b01a73b09181fdffb14164100168fe3b3ea7.tar.xz
msec-9462b01a73b09181fdffb14164100168fe3b3ea7.zip
*** empty log message ***
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index f8916d5..af446e3 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -7,6 +7,28 @@ fi
. /etc/security/msec/security.conf
+SUID_ROOT_TODAY="/var/log/security/suid_root.today"
+SUID_ROOT_YESTERDAY="/var/log/security/suid_root.yesterday"
+SUID_ROOT_DIFF="/var/log/security/suid_root.diff"
+SUID_GROUP_TODAY="/var/log/security/suid_group.today"
+SUID_GROUP_YESTERDAY="/var/log/security/suid_group.yesterday"
+SUID_GROUP_DIFF="/var/log/security/suid_group.diff"
+SUID_MD5_TODAY="/var/log/security/suid_md5.today"
+SUID_MD5_YESTERDAY="/var/log/security/suid_md5.yesterday"
+SUID_MD5_DIFF="/var/log/security/suid_md5.diff"
+OPEN_PORT_TODAY="/var/log/security/open_port.today"
+OPEN_PORT_YESTERDAY="/var/log/security/open_port.yesterday"
+OPEN_PORT_DIFF="/var/log/security/open_port.diff"
+WRITEABLE_TODAY="/var/log/security/writeable.today"
+WRITEABLE_YESTERDAY="/var/log/security/writeable.yesterday"
+WRITEABLE_DIFF="/var/log/security/writeable.diff"
+UNOWNED_USER_TODAY="/var/log/security/unowned_user.today"
+UNOWNED_USER_YESTERDAY="/var/log/security/unowned_user.yesterday"
+UNOWNED_USER_DIFF="/var/log/security/unowned_user.diff"
+UNOWNED_GROUP_TODAY="/var/log/security/unowned_group.today"
+UNOWNED_GROUP_YESTERDAY="/var/log/security/unowned_group.yesterday"
+UNOWNED_GROUP_DIFF="/var/log/security/unowned_group.diff"
+
# Modified filters coming from debian security scripts.
CS_NFSAFS='(nfs|afs|xfs|coda)'
@@ -18,6 +40,8 @@ DIR=`mount | grep -vE "$FILTERS" | cut -d ' ' -f3`
PRINT="%h/%f\n"
#PRINT="%8i %5m %3n %-10u %-10g %9s %t %h/%f\n"
+
+
if [[ ! -d /var/log/security ]]; then
mkdir /var/log/security
fi