aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level3.sh
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2001-08-09 08:48:29 +0000
committerFrederic Lepied <flepied@mandriva.com>2001-08-09 08:48:29 +0000
commite836c4bddc48d152c66e0b1993ac58607151e2eb (patch)
tree652c309a0e5d7ca4d5621482ed8402ea0f9bd9e0 /init-sh/level3.sh
parent39fbd4fb144919b93c350526221df06255a7e118 (diff)
downloadmsec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar
msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar.gz
msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar.bz2
msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar.xz
msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.zip
added vc/[1-6] to securetty (devfs)
Diffstat (limited to 'init-sh/level3.sh')
-rwxr-xr-xinit-sh/level3.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index e2808f9..760ae31 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -18,12 +18,18 @@ AddRules "*.* /dev/tty12" /etc/syslog.conf
# login as root from the console allowed
echo "Login as root is allowed (on the console) : "
-AddRules "tty1" /etc/securetty
+AddRules "tty1" /etc/securetty quiet
AddRules "tty2" /etc/securetty quiet
AddRules "tty3" /etc/securetty quiet
AddRules "tty4" /etc/securetty quiet
AddRules "tty5" /etc/securetty quiet
-AddRules "tty6" /etc/securetty quiet
+AddRules "tty6" /etc/securetty
+AddRules "vc/1" /etc/securetty quiet
+AddRules "vc/2" /etc/securetty quiet
+AddRules "vc/3" /etc/securetty quiet
+AddRules "vc/4" /etc/securetty quiet
+AddRules "vc/5" /etc/securetty quiet
+AddRules "vc/6" /etc/securetty
# Security check
echo "Updating file check variable : "