aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level5.sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-11-28 15:39:36 +0000
committerFlorin Grad <florin@mandriva.com>2001-11-28 15:39:36 +0000
commit223ad2b149ae600e372b1315d7ff27ca37a99a0a (patch)
tree3c5e2b8073a070975fe5ad9849c9462550d34559 /init-sh/level5.sh
parente221c8318bfab76505b82b9796fe51f23bdb8cdf (diff)
downloadmsec-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/level5.sh')
-rwxr-xr-xinit-sh/level5.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index 3d434f1..7ea4873 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -117,8 +117,8 @@ echo -e "done.\n";
# /etc/profile.d/msec.{sh,csh}
echo "Setting umask to 077 (u=rw) :"
-AddRules "umask 077" /etc/profile.d/msec.sh
-AddRules "umask 077" /etc/profile.d/msec.csh
+AddRules "UMASK_ROOT=077" /etc/sysconfig/msec
+AddRules "UMASK_USER=077" /etc/sysconfig/msec
if [[ -f /lib/libsafe.so.2]]; then
echo "Enabling stack overflow protection :"