aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level5.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-15 10:48:11 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-15 10:48:11 +0000
commit69e05f810985bfa55c62a05c6fc5e4050245eecf (patch)
treee371135b9e6fd90d5eaadd5abc1bf16b6d8b9eb0 /init-sh/level5.sh
parent18228772b4d4d9960e3d7b10293519b50287695e (diff)
downloadmsec-69e05f810985bfa55c62a05c6fc5e4050245eecf.tar
msec-69e05f810985bfa55c62a05c6fc5e4050245eecf.tar.gz
msec-69e05f810985bfa55c62a05c6fc5e4050245eecf.tar.bz2
msec-69e05f810985bfa55c62a05c6fc5e4050245eecf.tar.xz
msec-69e05f810985bfa55c62a05c6fc5e4050245eecf.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level5.sh')
-rwxr-xr-xinit-sh/level5.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index 32f0c8d..14b7e9d 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -73,6 +73,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"
+
# Disable all server :
echo "Setting secure level variable to 5 :"
AddRules "SECURE_LEVEL=5" /etc/profile