diff options
author | Florin Grad <florin@mandriva.com> | 2001-11-28 15:39:36 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-11-28 15:39:36 +0000 |
commit | 223ad2b149ae600e372b1315d7ff27ca37a99a0a (patch) | |
tree | 3c5e2b8073a070975fe5ad9849c9462550d34559 /init-sh/level3.sh | |
parent | e221c8318bfab76505b82b9796fe51f23bdb8cdf (diff) | |
download | msec-223ad2b149ae600e372b1315d7ff27ca37a99a0a.tar msec-223ad2b149ae600e372b1315d7ff27ca37a99a0a.tar.gz msec-223ad2b149ae600e372b1315d7ff27ca37a99a0a.tar.bz2 msec-223ad2b149ae600e372b1315d7ff27ca37a99a0a.tar.xz msec-223ad2b149ae600e372b1315d7ff27ca37a99a0a.zip |
add the /etc/sysconfig/mesc support for UMASK
Diffstat (limited to 'init-sh/level3.sh')
-rwxr-xr-x | init-sh/level3.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/init-sh/level3.sh b/init-sh/level3.sh index f0b8178..08ef348 100755 --- a/init-sh/level3.sh +++ b/init-sh/level3.sh @@ -71,12 +71,11 @@ AddRules "0 4 * * * root /usr/share/msec/security.sh" /etc/crontab # /etc/profile.d/msec.{sh,csh} export SECURE_LEVEL=3 echo "Setting secure level variable to 3 :" -AddRules "export SECURE_LEVEL=3" /etc/profile.d/msec.sh -AddRules "setenv SECURE_LEVEL 3" /etc/profile.d/msec.csh +AddRules "SECURE_LEVEL=3" /etc/sysconfig/msec echo "Setting umask to 022 (u=rw,g=r,o=r) :" -AddRules "umask 022" /etc/profile.d/msec.sh -AddRules "umask 022" /etc/profile.d/msec.csh +AddRules "UMASK_ROOT=022" /etc/sysconfig/msec +AddRules "UMASK_USER=022" /etc/sysconfig/msec # Do not boot on a shell AllowReboot |