aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level3.sh')
-rwxr-xr-xinit-sh/level3.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index 77d8a9a..8e8a456 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -59,10 +59,16 @@ echo "Adding permission check in crontab (scheduled every midnight) :"
AddRules "0 0 * * * root nice --adjustment=+19 /etc/security/msec/cron-sh/diff_check.sh" /etc/crontab
AddRules "0 0 * * * root nice --adjustment=+19 /etc/security/msec/cron-sh/security_check.sh" /etc/crontab
+# lilo update
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=3
echo "Setting secure level variable to 3 :"