diff options
Diffstat (limited to 'init-sh/level0.sh')
-rwxr-xr-x | init-sh/level0.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/init-sh/level0.sh b/init-sh/level0.sh index 3cb6b22..92ecc4e 100755 --- a/init-sh/level0.sh +++ b/init-sh/level0.sh @@ -63,7 +63,9 @@ 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.d/msec +AddRules "SECURE_LEVEL=0" /etc/profile +AddRules "SECURE_LEVEL=0" /etc/zrofile +AddRules "SECURE_LEVEL=0" /etc/profile.d/msec.sh echo "Setting umask to 002 (u=rw,g=rw,o=r) :" AddRules "umask 002" /etc/profile @@ -71,9 +73,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" /etc/profile +AddRules "export PATH SECURE_LEVEL" /etc/profile AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/zprofile quiet -AddRules "export PATH" /etc/zprofile +AddRules "export PATH SECURE_LEVEL" /etc/zprofile # Xserver echo "Allowing users to connect X server from everywhere :" |