aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level1.sh')
-rwxr-xr-xinit-sh/level1.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index fe56164..b7b1c3e 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -55,6 +55,12 @@ echo -n "Running lilo to record new config : "
/sbin/lilo >& /dev/null
echo -e "done.\n"
+# /etc/inittab
+echo "Disabling direct console access : "
+AddRules "1:2345:respawn:/sbin/mingetty tty1" /etc/inittab
+echo "done.\n"
+
+
# /etc/profile
export SECURE_LEVEL=1
echo "Setting secure level variable to 1 :"