aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level0.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level0.sh')
-rwxr-xr-xinit-sh/level0.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/init-sh/level0.sh b/init-sh/level0.sh
index c7ee590..83c1252 100755
--- a/init-sh/level0.sh
+++ b/init-sh/level0.sh
@@ -63,12 +63,11 @@ echo -e "\t- Security warning in syslog : no."
# /etc/profile.d/msec.{sh,csh}
export SECURE_LEVEL=0
echo "Setting secure level variable to 0 :"
-AddRules "export SECURE_LEVEL=0" /etc/profile.d/msec.sh
-AddRules "setenv SECURE_LEVEL 0" /etc/profile.d/msec.csh
+AddRules "SECURE_LEVEL=0" /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
# Xserver
echo "Allowing users to connect X server from everywhere :"