aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 14:55:28 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-01 14:55:28 +0000
commit043bb7a6cc19f3030075fd00c3cf0f108ec68e86 (patch)
tree63d6376e20b4645d74c53ec6eabc878ec547b032
parent08be84e1da6d19b96f77fcd2d3d455ab8b50a18a (diff)
downloadmsec-043bb7a6cc19f3030075fd00c3cf0f108ec68e86.tar
msec-043bb7a6cc19f3030075fd00c3cf0f108ec68e86.tar.gz
msec-043bb7a6cc19f3030075fd00c3cf0f108ec68e86.tar.bz2
msec-043bb7a6cc19f3030075fd00c3cf0f108ec68e86.tar.xz
msec-043bb7a6cc19f3030075fd00c3cf0f108ec68e86.zip
Bug fix
-rwxr-xr-xinit-sh/level1.sh1
-rwxr-xr-xinit-sh/level2.sh1
-rwxr-xr-xinit-sh/level3.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index fdeca03..8654fb2 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -54,6 +54,7 @@ echo -n "Running lilo to record new config : "
echo -e "done.\n"
# /etc/profile
+export SECURE_LEVEL=1
echo "Setting secure level variable to 1 :"
AddRules "SECURE_LEVEL=1" /etc/profile
echo "Setting umask to 002 (u=rw,g=rw,o=r) :"
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 1c4ebd3..896673c 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -54,6 +54,7 @@ echo -n "Running lilo to record new config : "
echo -e "done.\n"
# /etc/profile
+export SECURE_LEVEL=2
echo "Setting secure level variable to 2 :"
AddRules "SECURE_LEVEL=2" /etc/profile
echo "Setting umask to 022 (u=rw,g=r,o=r) :"
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index d45c608..84c22b1 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -61,6 +61,7 @@ echo -n "Running lilo to record new config : "
echo -e "done.\n"
# /etc/profile
+export SECURE_LEVEL=3
echo "Setting secure level variable to 3 :"
AddRules "SECURE_LEVEL=3" /etc/profile
echo "Setting umask to 022 (u=rw,g=r,o=r) :"