diff options
author | Frederic Lepied <flepied@mandriva.com> | 2001-08-09 08:48:29 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2001-08-09 08:48:29 +0000 |
commit | e836c4bddc48d152c66e0b1993ac58607151e2eb (patch) | |
tree | 652c309a0e5d7ca4d5621482ed8402ea0f9bd9e0 | |
parent | 39fbd4fb144919b93c350526221df06255a7e118 (diff) | |
download | msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar.gz msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar.bz2 msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.tar.xz msec-e836c4bddc48d152c66e0b1993ac58607151e2eb.zip |
added vc/[1-6] to securetty (devfs)
-rwxr-xr-x | init-sh/custom.sh | 6 | ||||
-rwxr-xr-x | init-sh/level0.sh | 6 | ||||
-rwxr-xr-x | init-sh/level1.sh | 6 | ||||
-rwxr-xr-x | init-sh/level2.sh | 6 | ||||
-rwxr-xr-x | init-sh/level3.sh | 10 | ||||
-rwxr-xr-x | init-sh/level4.sh | 6 |
6 files changed, 38 insertions, 2 deletions
diff --git a/init-sh/custom.sh b/init-sh/custom.sh index aed9d57..0118f3b 100755 --- a/init-sh/custom.sh +++ b/init-sh/custom.sh @@ -72,6 +72,12 @@ if [[ ${answer} == yes ]]; then AddRules "tty4" /etc/securetty quiet AddRules "tty5" /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 fi ### diff --git a/init-sh/level0.sh b/init-sh/level0.sh index 4329773..9d81a72 100755 --- a/init-sh/level0.sh +++ b/init-sh/level0.sh @@ -21,6 +21,12 @@ AddRules "tty3" /etc/securetty quiet AddRules "tty4" /etc/securetty quiet AddRules "tty5" /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 : " diff --git a/init-sh/level1.sh b/init-sh/level1.sh index ac72a91..be3537f 100755 --- a/init-sh/level1.sh +++ b/init-sh/level1.sh @@ -21,6 +21,12 @@ AddRules "tty3" /etc/securetty quiet AddRules "tty4" /etc/securetty quiet AddRules "tty5" /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 : " diff --git a/init-sh/level2.sh b/init-sh/level2.sh index 3ffe407..20c6306 100755 --- a/init-sh/level2.sh +++ b/init-sh/level2.sh @@ -22,6 +22,12 @@ AddRules "tty3" /etc/securetty quiet AddRules "tty4" /etc/securetty quiet AddRules "tty5" /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 : " 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 : " diff --git a/init-sh/level4.sh b/init-sh/level4.sh index b0dded8..356f629 100755 --- a/init-sh/level4.sh +++ b/init-sh/level4.sh @@ -32,6 +32,12 @@ AddRules "tty3" /etc/securetty quiet AddRules "tty4" /etc/securetty quiet AddRules "tty5" /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 : " |