diff options
Diffstat (limited to 'init-sh')
-rwxr-xr-x | init-sh/level1.sh | 2 | ||||
-rwxr-xr-x | init-sh/level2.sh | 4 | ||||
-rwxr-xr-x | init-sh/level3.sh | 2 | ||||
-rwxr-xr-x | init-sh/level4.sh | 2 | ||||
-rwxr-xr-x | init-sh/level5.sh | 2 |
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 |