diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-04-14 16:35:47 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-04-14 16:35:47 +0000 |
commit | ab99d20693624454a3deeefeb1f502cbb02a4e0f (patch) | |
tree | 820a1e92e2d0e3d7ad5960438a5df7093af7f44b /init-sh/level5.sh | |
parent | e29a077281f5a00c03931445293d2899e864f124 (diff) | |
download | msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar.gz msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar.bz2 msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.tar.xz msec-ab99d20693624454a3deeefeb1f502cbb02a4e0f.zip |
*** empty log message ***
Diffstat (limited to 'init-sh/level5.sh')
-rwxr-xr-x | init-sh/level5.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/init-sh/level5.sh b/init-sh/level5.sh index 0d9b58c..195b354 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -96,6 +96,8 @@ echo -e "done.\n" # Disable all server : echo "Setting secure level variable to 5 :" AddRules "SECURE_LEVEL=5" /etc/profile +AddRules "SECURE_LEVEL=5" /etc/zprofile + IFS=" " @@ -119,14 +121,19 @@ echo -e "done.\n"; # /etc/profile echo "Setting umask to 077 (u=rw) :" AddRules "umask 077" /etc/profile +AddRules "umask 077" /etc/zprofile echo "Adding \"normal\" PATH variable :" AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet AddRules "export PATH SECURE_LEVEL" /etc/profile +AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/zprofile quiet +AddRules "export PATH SECURE_LEVEL" /etc/zprofile + if [[ -f /usr/lib/libsafe.so.1.2 ]]; then echo "Enabling stack overflow protection :" - AddRules "export LD_PRELOAD=/usr/lib/libsafe.so.1.2" /etc/profile + AddRules "export LD_PRELOAD=/usr/lib/libsafe.so.1.3" /etc/profile + AddRules "export LD_PRELOAD=/usr/lib/libsafe.so.1.3" /etc/zprofile fi # Do not boot on a shell |