aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level1.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/level1.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/level1.sh')
-rwxr-xr-xinit-sh/level1.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 2fef869..fdeca03 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -56,11 +56,19 @@ echo -e "done.\n"
# /etc/profile
echo "Setting secure level variable to 1 :"
AddRules "SECURE_LEVEL=1" /etc/profile
-echo "Setting umask to 002 (user = rw, group = rw, o = r) :"
+echo "Setting umask to 002 (u=rw,g=rw,o=r) :"
AddRules "umask 002" /etc/profile
echo "Adding \"non secure\" 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}"
+
+
+
+
+
+
+