aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.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/level2.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/level2.sh')
-rwxr-xr-xinit-sh/level2.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index ec80c5d..1c4ebd3 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -56,11 +56,11 @@ echo -e "done.\n"
# /etc/profile
echo "Setting secure level variable to 2 :"
AddRules "SECURE_LEVEL=2" /etc/profile
-echo "Setting umask to 022 (user = rw, group = r, o = r) :"
+echo "Setting umask to 022 (u=rw,g=r,o=r) :"
AddRules "umask 022" /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
# Group
echo "Adding \"${USERNAME} to audio group :"
usermod -G audio "${USERNAME}"