aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level0.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 09:37:07 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 09:37:07 +0000
commitb823911b919ccbef518fd7c7e00c0a3992ad69b8 (patch)
tree6d986c553f8c3385947c93073c38cb4854b6ba25 /init-sh/level0.sh
parent2f50414619fa5041ae0249ee29fe9fb807f4aa13 (diff)
downloadmsec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.gz
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.bz2
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.xz
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.zip
*** empty log message ***
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 9d81a72..8d09aff 100755
--- a/init-sh/level0.sh
+++ b/init-sh/level0.sh
@@ -63,8 +63,7 @@ echo -e "\t- Security warning in syslog : no."
# /etc/profile
export SECURE_LEVEL=0
echo "Setting secure level variable to 0 :"
-AddRules "SECURE_LEVEL=0" /etc/profile
-AddRules "SECURE_LEVEL=0" /etc/zprofile
+AddRules "SECURE_LEVEL=0" /etc/profile.d/msec
echo "Setting umask to 002 (u=rw,g=rw,o=r) :"
AddRules "umask 002" /etc/profile
@@ -72,9 +71,9 @@ AddRules "umask 002" /etc/zprofile
echo "Adding \"non secure\" PATH variable :"
AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/profile quiet
-AddRules "export PATH SECURE_LEVEL" /etc/profile
+AddRules "export PATH" /etc/profile
AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/zprofile quiet
-AddRules "export PATH SECURE_LEVEL" /etc/zprofile
+AddRules "export PATH" /etc/zprofile
# Xserver
echo "Allowing users to connect X server from everywhere :"