aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level1.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-04-14 16:35:47 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-04-14 16:35:47 +0000
commitab99d20693624454a3deeefeb1f502cbb02a4e0f (patch)
tree820a1e92e2d0e3d7ad5960438a5df7093af7f44b /init-sh/level1.sh
parente29a077281f5a00c03931445293d2899e864f124 (diff)
downloadmsec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar
msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar.gz
msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar.bz2
msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar.xz
msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level1.sh')
-rwxr-xr-xinit-sh/level1.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 0c17880..3aa5b04 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -63,12 +63,17 @@ echo -e "done.\n"
export SECURE_LEVEL=1
echo "Setting secure level variable to 1 :"
AddRules "SECURE_LEVEL=1" /etc/profile
+AddRules "SECURE_LEVEL=1" /etc/zprofile
+
echo "Setting umask to 002 (u=rw,g=rw,o=r) :"
AddRules "umask 002" /etc/profile
+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 "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/zprofile quiet
+AddRules "export PATH SECURE_LEVEL" /etc/zprofile
# Xserver
echo "Allowing users to connect X server from localhost :"