aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level5.sh
diff options
context:
space:
mode:
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 :"