aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level4.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 09:37:07 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 09:37:07 +0000
commitb823911b919ccbef518fd7c7e00c0a3992ad69b8 (patch)
tree6d986c553f8c3385947c93073c38cb4854b6ba25 /init-sh/level4.sh
parent2f50414619fa5041ae0249ee29fe9fb807f4aa13 (diff)
downloadmsec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.gz
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.bz2
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.xz
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-xinit-sh/level4.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 356f629..62aa2d6 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -81,8 +81,7 @@ AddRules "0 4 * * * root /usr/share/msec/security.sh" /etc/crontab
# Server update
echo "Setting secure level variable to 4 :"
-AddRules "SECURE_LEVEL=4" /etc/profile
-AddRules "SECURE_LEVEL=4" /etc/zprofile
+AddRules "SECURE_LEVEL=4" /etc/profile.d/msec
export SECURE_LEVEL=4
@@ -111,9 +110,9 @@ AddRules "if [[ \${UID} == 0 ]]; then umask 022; else umask 077; fi" /etc/zprofi
echo "Adding \"normal\" PATH variable :"
AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/profile quiet
-AddRules "export PATH SECURE_LEVEL" /etc/profile
+AddRules "export PATH" /etc/profile
AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/zprofile quiet
-AddRules "export PATH SECURE_LEVEL" /etc/zprofile
+AddRules "export PATH" /etc/zprofile
if [[ -f /lib/libsafe.so.1.3 ]]; then
echo "Enabling stack overflow protection :"