aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-xinit-sh/level4.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 874634f..b0ebeea 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -79,6 +79,11 @@ 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"
+
# Server update
echo "Setting secure level variable to 4 :"
AddRules "SECURE_LEVEL=4" /etc/profile