aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-03 14:05:49 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-03 14:05:49 +0000
commit6b30bee329565e745b05ed720c91731dd1ba7a0d (patch)
treed7d6b7138178237800cd68ba7e24eab0083548a4
parent7ee5ce2586bdd320ad2c70d58b23af9f771ae57f (diff)
downloadmsec-6b30bee329565e745b05ed720c91731dd1ba7a0d.tar
msec-6b30bee329565e745b05ed720c91731dd1ba7a0d.tar.gz
msec-6b30bee329565e745b05ed720c91731dd1ba7a0d.tar.bz2
msec-6b30bee329565e745b05ed720c91731dd1ba7a0d.tar.xz
msec-6b30bee329565e745b05ed720c91731dd1ba7a0d.zip
Added /usr/games in PATH
-rwxr-xr-xinit-sh/level1.sh2
-rwxr-xr-xinit-sh/level2.sh4
-rwxr-xr-xinit-sh/level3.sh2
-rwxr-xr-xinit-sh/level4.sh2
-rwxr-xr-xinit-sh/level5.sh2
5 files changed, 6 insertions, 6 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 919bbbe..dba9f55 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -60,7 +60,7 @@ AddRules "SECURE_LEVEL=1" /etc/profile
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 quiet
+AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games:." /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
# Group
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 083c9ea..37bfa93 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -60,11 +60,11 @@ AddRules "SECURE_LEVEL=2" /etc/profile
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 quiet
+AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
# Group
echo -n "Adding \"${DRAKX_USERS}\" to audio group :"
for user in ${DRAKX_USERS}; do
usermod -G audio "${user}"
done
-echo "done." \ No newline at end of file
+echo "done."
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index 84c22b1..5a84b40 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -67,5 +67,5 @@ AddRules "SECURE_LEVEL=3" /etc/profile
echo "Setting umask to 022 (u=rw,g=r,o=r) :"
AddRules "umask 022" /etc/profile
echo "Adding a \"normal\" PATH variable : "
-AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet
+AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index bc18c5f..c85b8bb 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -102,6 +102,6 @@ echo -e "done.\n";
echo "Setting umask to 022 (u=rw,g=rx) for root, 077 (u=rw) for user :"
AddRules "if [ \${UID} == 0 ]; then umask 022; else umask 077; fi" /etc/profile
echo "Adding \"normal\" PATH variable :"
-AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet
+AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index 3e1704c..3a81faa 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -96,7 +96,7 @@ echo -e "done.\n";
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 quiet
+AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile
echo