summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-01-29 00:50:21 +0000
committerobrien <obrien@FreeBSD.org>2000-01-29 00:50:21 +0000
commit6a916c751433954870e89aa6b93922a498bba3e9 (patch)
treed90479eb193fb41c4ae376df8f6516eddab75240
parent881c9a0d6eca0d2da9a6e3bccbae8c840845ec68 (diff)
downloadFreeBSD-src-6a916c751433954870e89aa6b93922a498bba3e9.zip
FreeBSD-src-6a916c751433954870e89aa6b93922a498bba3e9.tar.gz
* Use `console' rather than `ttyv0' so there will always be a getty on
the console reguardless of the type of console. * Make the Alpha version match the i386 version.
-rw-r--r--etc/etc.alpha/ttys10
-rw-r--r--etc/etc.amd64/ttys3
-rw-r--r--etc/etc.i386/ttys3
3 files changed, 9 insertions, 7 deletions
diff --git a/etc/etc.alpha/ttys b/etc/etc.alpha/ttys
index 86f9a39..25088f3 100644
--- a/etc/etc.alpha/ttys
+++ b/etc/etc.alpha/ttys
@@ -28,13 +28,17 @@
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
-console none unknown off secure
#
-ttyv0 "/usr/libexec/getty Pc" cons25 on secure
+console "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
-ttyv3 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
+ttyv3 "/usr/libexec/getty Pc" cons25 on secure
+ttyv4 "/usr/libexec/getty Pc" cons25 on secure
+ttyv5 "/usr/libexec/getty Pc" cons25 on secure
+ttyv6 "/usr/libexec/getty Pc" cons25 on secure
+ttyv7 "/usr/libexec/getty Pc" cons25 on secure
+ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
diff --git a/etc/etc.amd64/ttys b/etc/etc.amd64/ttys
index c38b0f0..25088f3 100644
--- a/etc/etc.amd64/ttys
+++ b/etc/etc.amd64/ttys
@@ -28,9 +28,8 @@
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
-console none unknown off secure
#
-ttyv0 "/usr/libexec/getty Pc" cons25 on secure
+console "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys
index c38b0f0..25088f3 100644
--- a/etc/etc.i386/ttys
+++ b/etc/etc.i386/ttys
@@ -28,9 +28,8 @@
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
-console none unknown off secure
#
-ttyv0 "/usr/libexec/getty Pc" cons25 on secure
+console "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
OpenPOWER on IntegriCloud