aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) :"