From bcfc307ac4c6b78be142175d9b92ccee544bc467 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Fri, 15 Feb 2002 05:18:07 +0000 Subject: use umask from the secure level setting --- cron-sh/security.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cron-sh/security.sh') 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" -- cgit v1.2.1