aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level5.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 11:02:33 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 11:02:33 +0000
commit49875dda625b1cf67d1ec25153e3eecfb5aed421 (patch)
tree397bf6de37589f8517467bbbf1b58555d0057bb8 /init-sh/level5.sh
parent6993d7456f2e542095deec62549d467e6e9a7057 (diff)
downloadmsec-49875dda625b1cf67d1ec25153e3eecfb5aed421.tar
msec-49875dda625b1cf67d1ec25153e3eecfb5aed421.tar.gz
msec-49875dda625b1cf67d1ec25153e3eecfb5aed421.tar.bz2
msec-49875dda625b1cf67d1ec25153e3eecfb5aed421.tar.xz
msec-49875dda625b1cf67d1ec25153e3eecfb5aed421.zip
Bug fix
Diffstat (limited to 'init-sh/level5.sh')
-rwxr-xr-xinit-sh/level5.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index 0b60c2d..3e1704c 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -93,10 +93,11 @@ done
echo -e "done.\n";
# /etc/profile
-echo "Setting umask to 077 (user = rw) :"
+echo "Setting umask to 077 (u=rw) :"
AddRules "umask 077" /etc/profile
echo "Adding \"normal\" PATH variable :"
-AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile
+AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet
+AddRules "export PATH SECURE_LEVEL" /etc/profile
echo
echo "You are now running your system in security level 5,"