aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-sh/security.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 4cb0d12..cabc812 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -7,6 +7,12 @@ fi
. /etc/security/msec/security.conf
+if [ -r /etc/sysconfig/msec ]; then
+ . /etc/sysconfig/msec
+fi
+
+umask ${UMASK_ROOT=077}
+
[[ ${MAIL_WARN} == yes ]] && [ -z ${MAIL_USER} ] && MAIL_USER="root"
export SUID_ROOT_TODAY="/var/log/security/suid_root.today"