diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-15 05:18:07 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-15 05:18:07 +0000 |
commit | bcfc307ac4c6b78be142175d9b92ccee544bc467 (patch) | |
tree | 3d7f297e31391f9cf24a4439f82a0a9dc6a2ef0a /cron-sh | |
parent | 49280d4c91c1b3c1fb66ff564c40934198c28907 (diff) | |
download | msec-bcfc307ac4c6b78be142175d9b92ccee544bc467.tar msec-bcfc307ac4c6b78be142175d9b92ccee544bc467.tar.gz msec-bcfc307ac4c6b78be142175d9b92ccee544bc467.tar.bz2 msec-bcfc307ac4c6b78be142175d9b92ccee544bc467.tar.xz msec-bcfc307ac4c6b78be142175d9b92ccee544bc467.zip |
use umask from the secure level setting
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/security.sh | 6 |
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" |