aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level2.sh')
-rwxr-xr-xinit-sh/level2.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 39cb7d1..c876ed9 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -55,6 +55,11 @@ echo -n "Running lilo to record new config : "
/sbin/lilo
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=2
echo "Setting secure level variable to 2 :"