aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level3.sh')
-rwxr-xr-xinit-sh/level3.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index bf53c66..20cb713 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -71,11 +71,17 @@ echo -e "done.\n"
export SECURE_LEVEL=3
echo "Setting secure level variable to 3 :"
AddRules "SECURE_LEVEL=3" /etc/profile
+AddRules "SECURE_LEVEL=3" /etc/zprofile
+
echo "Setting umask to 022 (u=rw,g=r,o=r) :"
AddRules "umask 022" /etc/profile
+AddRules "umask 022" /etc/zprofile
+
echo "Adding a \"normal\" PATH variable : "
AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
+AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/zprofile quiet
+AddRules "export PATH SECURE_LEVEL" /etc/zprofile
# Do not boot on a shell
echo -n "Setting up inittab to authorize any user to issue ctrl-alt-del : "