aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-10-03 12:50:38 +0000
committerFlorin Grad <florin@mandriva.com>2001-10-03 12:50:38 +0000
commit2640cda35f89250164ccdc5736b360ca3b30b7c8 (patch)
tree84290cf1580f6df19936dde1dce69ac3ddf45cb7 /init-sh/level2.sh
parenta1893a044ece18d427fe87c553ea0303b46afedb (diff)
downloadmsec-2640cda35f89250164ccdc5736b360ca3b30b7c8.tar
msec-2640cda35f89250164ccdc5736b360ca3b30b7c8.tar.gz
msec-2640cda35f89250164ccdc5736b360ca3b30b7c8.tar.bz2
msec-2640cda35f89250164ccdc5736b360ca3b30b7c8.tar.xz
msec-2640cda35f89250164ccdc5736b360ca3b30b7c8.zip
libsafe.so.2 in levels 4/5 and remove the . in PATH
Diffstat (limited to 'init-sh/level2.sh')
-rwxr-xr-xinit-sh/level2.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 6cc646c..e194a69 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -71,17 +71,6 @@ echo "Setting umask to 022 (u=rw,g=r,o=r) :"
AddRules "umask 022" /etc/profile.d/msec.sh
AddRules "umask 022" /etc/profile.d/msec.csh
-echo "Adding \"non secure\" PATH variable :"
-AddRules "if ! echo \${PATH} |grep -q /usr/X11R6/bin ; then\n\texport PATH=\$PATH:/usr/X11R6/bin\nfi" /etc/profile.d/msec.sh quiet
-AddRules "if ! { (echo "\${PATH}" | grep -q /usr/X11R6/bin) } then\n\tsetenv PATH \"\${PATH}:/usr
-/X11R6/bin\"\nendif" /etc/profile.d/msec.csh quiet
-AddRules "if ! echo \${PATH} |grep -q /usr/games ; then\n\texport PATH=\$PATH:/usr/games\nfi" /etc/profile.d/msec.sh quiet
-AddRules "if ! { (echo "\${PATH}" | grep -q /usr/games) } then\n\tsetenv PATH \"\${PATH}:/usr/games\"\nendif" /etc/profile.d/msec.csh quiet
-
-AddRules "if ! echo \${PATH} |grep -q :. ; then\n\texport PATH=\$PATH:.\nfi" /etc/profile.d/msec.
-sh quiet
-AddRules "if ! { (echo "\${PATH}" | grep -q :.) } then\n\tsetenv PATH \"\${PATH}:.\"\nendif" /etc/profile.d/msec.csh quiet
-
# Xserver
echo "Allowing users to connect X server from localhost :"
AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit.d/msec