aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/custom.sh6
-rwxr-xr-xinit-sh/level0.sh6
-rwxr-xr-xinit-sh/level1.sh6
-rwxr-xr-xinit-sh/level2.sh6
-rwxr-xr-xinit-sh/level3.sh10
-rwxr-xr-xinit-sh/level4.sh6
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 : "