Module Name:    src
Committed By:   abs
Date:           Wed Sep 25 23:09:25 UTC 2019

Modified Files:
        src/etc/etc.aarch64: ttys
        src/etc/etc.algor: ttys
        src/etc/etc.alpha: ttys
        src/etc/etc.amd64: ttys
        src/etc/etc.amiga: ttys
        src/etc/etc.amigappc: ttys
        src/etc/etc.arc: ttys
        src/etc/etc.cesfic: ttys
        src/etc/etc.emips: ttys
        src/etc/etc.epoc32: ttys
        src/etc/etc.evbarm: ttys
        src/etc/etc.evbcf: ttys
        src/etc/etc.evbmips: ttys
        src/etc/etc.evbppc: ttys
        src/etc/etc.evbsh3: ttys
        src/etc/etc.ews4800mips: ttys
        src/etc/etc.hp300: ttys
        src/etc/etc.hpcmips: ttys
        src/etc/etc.hppa: ttys
        src/etc/etc.i386: ttys
        src/etc/etc.ia64: ttys
        src/etc/etc.iyonix: ttys
        src/etc/etc.landisk: ttys
        src/etc/etc.luna68k: ttys
        src/etc/etc.mipsco: ttys
        src/etc/etc.mmeye: ttys
        src/etc/etc.mvme68k: ttys
        src/etc/etc.mvmeppc: ttys
        src/etc/etc.netwinder: ttys
        src/etc/etc.news68k: ttys
        src/etc/etc.newsmips: ttys
        src/etc/etc.next68k: ttys
        src/etc/etc.or1k: ttys
        src/etc/etc.playstation2: ttys
        src/etc/etc.pmax: ttys
        src/etc/etc.riscv: ttys
        src/etc/etc.sandpoint: ttys
        src/etc/etc.sbmips: ttys
        src/etc/etc.sgimips: ttys
        src/etc/etc.shark: ttys
        src/etc/etc.sparc: ttys
        src/etc/etc.sparc64: ttys
        src/etc/etc.vax: ttys
        src/etc/etc.zaurus: ttys

Log Message:
Switch default console tty from /dev/console to /dev/constty

With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.aarch64/ttys
cvs rdiff -u -r1.5 -r1.6 src/etc/etc.algor/ttys
cvs rdiff -u -r1.12 -r1.13 src/etc/etc.alpha/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.amd64/ttys
cvs rdiff -u -r1.24 -r1.25 src/etc/etc.amiga/ttys
cvs rdiff -u -r1.3 -r1.4 src/etc/etc.amigappc/ttys
cvs rdiff -u -r1.8 -r1.9 src/etc/etc.arc/ttys
cvs rdiff -u -r1.5 -r1.6 src/etc/etc.cesfic/ttys
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.emips/ttys
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.epoc32/ttys
cvs rdiff -u -r1.7 -r1.8 src/etc/etc.evbarm/ttys
cvs rdiff -u -r1.2 -r1.3 src/etc/etc.evbcf/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.evbmips/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.evbppc/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.evbsh3/ttys
cvs rdiff -u -r1.2 -r1.3 src/etc/etc.ews4800mips/ttys
cvs rdiff -u -r1.16 -r1.17 src/etc/etc.hp300/ttys
cvs rdiff -u -r1.11 -r1.12 src/etc/etc.hpcmips/ttys
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.hppa/ttys
cvs rdiff -u -r1.20 -r1.21 src/etc/etc.i386/ttys
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.ia64/ttys
cvs rdiff -u -r1.4 -r1.5 src/etc/etc.iyonix/ttys
cvs rdiff -u -r1.3 -r1.4 src/etc/etc.landisk/ttys
cvs rdiff -u -r1.8 -r1.9 src/etc/etc.luna68k/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.mipsco/ttys
cvs rdiff -u -r1.7 -r1.8 src/etc/etc.mmeye/ttys
cvs rdiff -u -r1.9 -r1.10 src/etc/etc.mvme68k/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.mvmeppc/ttys
cvs rdiff -u -r1.8 -r1.9 src/etc/etc.netwinder/ttys
cvs rdiff -u -r1.9 -r1.10 src/etc/etc.news68k/ttys
cvs rdiff -u -r1.9 -r1.10 src/etc/etc.newsmips/ttys
cvs rdiff -u -r1.10 -r1.11 src/etc/etc.next68k/ttys
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.or1k/ttys
cvs rdiff -u -r1.6 -r1.7 src/etc/etc.playstation2/ttys
cvs rdiff -u -r1.15 -r1.16 src/etc/etc.pmax/ttys
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.riscv/ttys
cvs rdiff -u -r1.7 -r1.8 src/etc/etc.sandpoint/ttys
cvs rdiff -u -r1.5 -r1.6 src/etc/etc.sbmips/ttys
cvs rdiff -u -r1.10 -r1.11 src/etc/etc.sgimips/ttys
cvs rdiff -u -r1.8 -r1.9 src/etc/etc.shark/ttys
cvs rdiff -u -r1.16 -r1.17 src/etc/etc.sparc/ttys
cvs rdiff -u -r1.11 -r1.12 src/etc/etc.sparc64/ttys
cvs rdiff -u -r1.9 -r1.10 src/etc/etc.vax/ttys
cvs rdiff -u -r1.3 -r1.4 src/etc/etc.zaurus/ttys

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/etc.aarch64/ttys
diff -u src/etc/etc.aarch64/ttys:1.1 src/etc/etc.aarch64/ttys:1.2
--- src/etc/etc.aarch64/ttys:1.1	Sun Aug 10 05:47:36 2014
+++ src/etc/etc.aarch64/ttys	Wed Sep 25 23:09:19 2019
@@ -1,11 +1,11 @@
-# $NetBSD: ttys,v 1.1 2014/08/10 05:47:36 matt Exp $
+# $NetBSD: ttys,v 1.2 2019/09/25 23:09:19 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.algor/ttys
diff -u src/etc/etc.algor/ttys:1.5 src/etc/etc.algor/ttys:1.6
--- src/etc/etc.algor/ttys:1.5	Tue Oct  7 10:00:01 2008
+++ src/etc/etc.algor/ttys	Wed Sep 25 23:09:19 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.5 2008/10/07 10:00:01 abs Exp $
+#	$NetBSD: ttys,v 1.6 2019/09/25 23:09:19 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 #
 # 16550-compatible serial ports
 #

Index: src/etc/etc.alpha/ttys
diff -u src/etc/etc.alpha/ttys:1.12 src/etc/etc.alpha/ttys:1.13
--- src/etc/etc.alpha/ttys:1.12	Wed Jun 13 20:49:12 2012
+++ src/etc/etc.alpha/ttys	Wed Sep 25 23:09:19 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.12 2012/06/13 20:49:12 martin Exp $
+#	$NetBSD: ttys,v 1.13 2019/09/25 23:09:19 abs Exp $
 #
 # name	getty				type	status		comments
 
@@ -7,8 +7,8 @@
 # enabled for the correct 'real' device (e.g. one of the serial ports).
 
 # console pseudo-device
-console	"/usr/libexec/getty std.9600"	vt100 on secure
-constty	"/usr/libexec/getty std.9600"	vt100 off secure
+console	"/usr/libexec/getty std.9600"	vt100 off secure
+constty	"/usr/libexec/getty std.9600"	vt100 on secure
 
 # Workstation console (framebuffer) ttys
 ttyE0	"/usr/libexec/getty std.9600"	wsvt25 off secure

Index: src/etc/etc.amd64/ttys
diff -u src/etc/etc.amd64/ttys:1.6 src/etc/etc.amd64/ttys:1.7
--- src/etc/etc.amd64/ttys:1.6	Wed Jun 13 20:49:12 2012
+++ src/etc/etc.amd64/ttys	Wed Sep 25 23:09:19 2019
@@ -1,11 +1,11 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.6 2012/06/13 20:49:12 martin Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:19 abs Exp $
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty Pc"		vt100	on secure
-constty	"/usr/libexec/getty Pc"		vt100	off secure
+console	"/usr/libexec/getty Pc"		vt100	off secure
+constty	"/usr/libexec/getty Pc"		vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.amiga/ttys
diff -u src/etc/etc.amiga/ttys:1.24 src/etc/etc.amiga/ttys:1.25
--- src/etc/etc.amiga/ttys:1.24	Wed Jun 13 20:49:12 2012
+++ src/etc/etc.amiga/ttys	Wed Sep 25 23:09:20 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.24 2012/06/13 20:49:12 martin Exp $
+#	$NetBSD: ttys,v 1.25 2019/09/25 23:09:20 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
@@ -7,8 +7,8 @@
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console	"/usr/libexec/getty Pc"		wsvt25	on secure 
-constty	"/usr/libexec/getty Pc"		wsvt25	off secure 
+console	"/usr/libexec/getty Pc"		wsvt25	off secure 
+constty	"/usr/libexec/getty Pc"		wsvt25	on secure 
 ttye0	"/usr/libexec/getty Pc"		wsvt25	off secure 	# custom chips
 ttye1	"/usr/libexec/getty Pc"		wsvt25	off secure 	# retina
 ttye2	"/usr/libexec/getty Pc"		wsvt25	off secure 	# retina

Index: src/etc/etc.amigappc/ttys
diff -u src/etc/etc.amigappc/ttys:1.3 src/etc/etc.amigappc/ttys:1.4
--- src/etc/etc.amigappc/ttys:1.3	Wed Jun 13 20:49:12 2012
+++ src/etc/etc.amigappc/ttys	Wed Sep 25 23:09:20 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.3 2012/06/13 20:49:12 martin Exp $
+#	$NetBSD: ttys,v 1.4 2019/09/25 23:09:20 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
@@ -7,8 +7,8 @@
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console	"/usr/libexec/getty Pc"		wsvt25	on secure 
-constty	"/usr/libexec/getty Pc"		wsvt25	off secure 
+console	"/usr/libexec/getty Pc"		wsvt25	off secure 
+constty	"/usr/libexec/getty Pc"		wsvt25	on secure 
 ttye0	"/usr/libexec/getty Pc"		wsvt25	off secure 	# custom chips
 ttye1	"/usr/libexec/getty Pc"		wsvt25	off secure 	# retina
 ttye2	"/usr/libexec/getty Pc"		wsvt25	off secure 	# retina

Index: src/etc/etc.arc/ttys
diff -u src/etc/etc.arc/ttys:1.8 src/etc/etc.arc/ttys:1.9
--- src/etc/etc.arc/ttys:1.8	Wed Jun 13 20:49:12 2012
+++ src/etc/etc.arc/ttys	Wed Sep 25 23:09:20 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.8 2012/06/13 20:49:12 martin Exp $
+#	$NetBSD: ttys,v 1.9 2019/09/25 23:09:20 abs Exp $
 #
 # name	getty				type	status		comments
 
@@ -7,8 +7,8 @@
 # enabled for the correct 'real' device (e.g. one of the serial ports).
 
 # console pseudo-device
-console	"/usr/libexec/getty std.9600"	vt220 on secure
-constty	"/usr/libexec/getty std.9600"	vt220 off secure
+console	"/usr/libexec/getty std.9600"	vt220 off secure
+constty	"/usr/libexec/getty std.9600"	vt220 on secure
 
 # Workstation console
 ttyE0	"/usr/libexec/getty std.9600"	wsvt25 off secure

Index: src/etc/etc.cesfic/ttys
diff -u src/etc/etc.cesfic/ttys:1.5 src/etc/etc.cesfic/ttys:1.6
--- src/etc/etc.cesfic/ttys:1.5	Tue Oct  7 10:00:01 2008
+++ src/etc/etc.cesfic/ttys	Wed Sep 25 23:09:20 2019
@@ -1,3 +1,3 @@
-# $NetBSD: ttys,v 1.5 2008/10/07 10:00:01 abs Exp $
-console "/usr/libexec/getty std.9600"   unknown on secure
-constty "/usr/libexec/getty std.9600"   unknown off secure
+# $NetBSD: ttys,v 1.6 2019/09/25 23:09:20 abs Exp $
+console "/usr/libexec/getty std.9600"   unknown off secure
+constty "/usr/libexec/getty std.9600"   unknown on secure

Index: src/etc/etc.emips/ttys
diff -u src/etc/etc.emips/ttys:1.1 src/etc/etc.emips/ttys:1.2
--- src/etc/etc.emips/ttys:1.1	Wed Jan 26 01:18:47 2011
+++ src/etc/etc.emips/ttys	Wed Sep 25 23:09:20 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.1 2011/01/26 01:18:47 pooka Exp $
+#	$NetBSD: ttys,v 1.2 2019/09/25 23:09:20 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
@@ -6,7 +6,8 @@
 #
 
 # Assumes you use PuTTY on your serial line
-console	"/usr/libexec/getty std.38400"	vt100	on secure
+console	"/usr/libexec/getty std.38400"	vt100	off secure
+constty	"/usr/libexec/getty std.38400"	vt100	on  secure
 #
 # ttys for serial ports
 #

Index: src/etc/etc.epoc32/ttys
diff -u src/etc/etc.epoc32/ttys:1.1 src/etc/etc.epoc32/ttys:1.2
--- src/etc/etc.epoc32/ttys:1.1	Wed May  1 13:12:00 2013
+++ src/etc/etc.epoc32/ttys	Wed Sep 25 23:09:20 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.1 2013/05/01 13:12:00 kiyohara Exp $
+#	$NetBSD: ttys,v 1.2 2019/09/25 23:09:20 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.evbarm/ttys
diff -u src/etc/etc.evbarm/ttys:1.7 src/etc/etc.evbarm/ttys:1.8
--- src/etc/etc.evbarm/ttys:1.7	Wed Jun 13 20:49:12 2012
+++ src/etc/etc.evbarm/ttys	Wed Sep 25 23:09:21 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.7 2012/06/13 20:49:12 martin Exp $
+#	$NetBSD: ttys,v 1.8 2019/09/25 23:09:21 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.evbcf/ttys
diff -u src/etc/etc.evbcf/ttys:1.2 src/etc/etc.evbcf/ttys:1.3
--- src/etc/etc.evbcf/ttys:1.2	Tue Mar 18 18:20:36 2014
+++ src/etc/etc.evbcf/ttys	Wed Sep 25 23:09:21 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.2 2014/03/18 18:20:36 riastradh Exp $
+#	$NetBSD: ttys,v 1.3 2019/09/25 23:09:21 abs Exp $
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
@@ -8,8 +8,8 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty Pc"		dumb	on secure
-constty "/usr/libexec/getty Pc"		dumb	off secure
+console "/usr/libexec/getty Pc"		dumb	off secure
+constty "/usr/libexec/getty Pc"		dumb	on secure
 
 #
 # Hardwired lines are marked off, by default, so getty(8)

Index: src/etc/etc.evbmips/ttys
diff -u src/etc/etc.evbmips/ttys:1.6 src/etc/etc.evbmips/ttys:1.7
--- src/etc/etc.evbmips/ttys:1.6	Tue Oct  7 10:00:01 2008
+++ src/etc/etc.evbmips/ttys	Wed Sep 25 23:09:21 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.6 2008/10/07 10:00:01 abs Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:21 abs Exp $
 #
 # name	getty				type	status		comments
 
@@ -8,8 +8,8 @@
 # If the console is marked insecure, single-user requires the root password.
 
 # Console pseudo-device
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 
 # NS16550 ("com") serial ports
 tty00	"/usr/libexec/getty default"	unknown	off secure

Index: src/etc/etc.evbppc/ttys
diff -u src/etc/etc.evbppc/ttys:1.6 src/etc/etc.evbppc/ttys:1.7
--- src/etc/etc.evbppc/ttys:1.6	Tue Oct  7 10:00:01 2008
+++ src/etc/etc.evbppc/ttys	Wed Sep 25 23:09:21 2019
@@ -1,11 +1,11 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.6 2008/10/07 10:00:01 abs Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:21 abs Exp $
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 #ttyE0	"/usr/libexec/getty Pc"		pc3	off secure
 tty00	"/usr/libexec/getty default"	unknown off secure
 tty01	"/usr/libexec/getty default"	unknown off secure

Index: src/etc/etc.evbsh3/ttys
diff -u src/etc/etc.evbsh3/ttys:1.6 src/etc/etc.evbsh3/ttys:1.7
--- src/etc/etc.evbsh3/ttys:1.6	Tue Oct  7 10:00:01 2008
+++ src/etc/etc.evbsh3/ttys	Wed Sep 25 23:09:21 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.6 2008/10/07 10:00:01 abs Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:21 abs Exp $
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
@@ -8,8 +8,8 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty std.115200"	unknown	on secure
-constty "/usr/libexec/getty std.115200"	unknown	off secure
+console "/usr/libexec/getty std.115200"	unknown	off secure
+constty "/usr/libexec/getty std.115200"	unknown	on secure
 
 #tty00	"/usr/libexec/getty std.9600"	unknown	off secure
 #tty01	"/usr/libexec/getty std.9600"	unknown	off secure

Index: src/etc/etc.ews4800mips/ttys
diff -u src/etc/etc.ews4800mips/ttys:1.2 src/etc/etc.ews4800mips/ttys:1.3
--- src/etc/etc.ews4800mips/ttys:1.2	Tue Oct  7 10:00:01 2008
+++ src/etc/etc.ews4800mips/ttys	Wed Sep 25 23:09:21 2019
@@ -1,8 +1,9 @@
 #
-#	$NetBSD: ttys,v 1.2 2008/10/07 10:00:01 abs Exp $
+#	$NetBSD: ttys,v 1.3 2019/09/25 23:09:21 abs Exp $
 #
 # name	getty				type	status		comments
 
+console	"/usr/libexec/getty std.9600"	wsvt25	off secure
 constty	"/usr/libexec/getty std.9600"	wsvt25	off secure
 ttyE0	"/usr/libexec/getty std.9600"	wsvt25	on secure
 

Index: src/etc/etc.hp300/ttys
diff -u src/etc/etc.hp300/ttys:1.16 src/etc/etc.hp300/ttys:1.17
--- src/etc/etc.hp300/ttys:1.16	Wed Jun 13 20:49:13 2012
+++ src/etc/etc.hp300/ttys	Wed Sep 25 23:09:21 2019
@@ -1,12 +1,12 @@
-#	$NetBSD: ttys,v 1.16 2012/06/13 20:49:13 martin Exp $
+#	$NetBSD: ttys,v 1.17 2019/09/25 23:09:21 abs Exp $
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console "/usr/libexec/getty Pc"		vt220	on  secure
-constty "/usr/libexec/getty Pc"		vt220	off secure
+console "/usr/libexec/getty Pc"		vt220	off secure
+constty "/usr/libexec/getty Pc"		vt220	on  secure
 
 # Workstation console
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.hpcmips/ttys
diff -u src/etc/etc.hpcmips/ttys:1.11 src/etc/etc.hpcmips/ttys:1.12
--- src/etc/etc.hpcmips/ttys:1.11	Thu Jul 13 16:03:36 2017
+++ src/etc/etc.hpcmips/ttys	Wed Sep 25 23:09:21 2019
@@ -1,11 +1,11 @@
 #
-#	$NetBSD: ttys,v 1.11 2017/07/13 16:03:36 christos Exp $
+#	$NetBSD: ttys,v 1.12 2019/09/25 23:09:21 abs Exp $
 #
 # name	getty				type	status		comments
 
 # serial port
-console	"/usr/libexec/getty std.9600"	vt100	on secure
-constty	"/usr/libexec/getty std.9600"	vt100	off secure
+console	"/usr/libexec/getty std.9600"	vt100	off secure
+constty	"/usr/libexec/getty std.9600"	vt100	on secure
 
 # Workstation console (framebuffer) ttys
 ttyE0	"/usr/libexec/getty std.9600"	wsvt25	off secure

Index: src/etc/etc.hppa/ttys
diff -u src/etc/etc.hppa/ttys:1.1 src/etc/etc.hppa/ttys:1.2
--- src/etc/etc.hppa/ttys:1.1	Mon Feb 24 07:23:40 2014
+++ src/etc/etc.hppa/ttys	Wed Sep 25 23:09:21 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.1 2014/02/24 07:23:40 skrll Exp $
+#	$NetBSD: ttys,v 1.2 2019/09/25 23:09:21 abs Exp $
 #
 #	$OpenBSD: ttys,v 1.1 1999/11/30 21:25:39 mickey Exp $
 #
@@ -6,8 +6,8 @@
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console "/usr/libexec/getty Pc"		vt100	on  secure
-constty "/usr/libexec/getty Pc"		vt100	off  secure
+console "/usr/libexec/getty Pc"		vt100	off secure
+constty "/usr/libexec/getty Pc"		vt100	on  secure
 
 # Hardwired lines are marked off, by default, so getty(8)
 # is quiet when they don't exist.

Index: src/etc/etc.i386/ttys
diff -u src/etc/etc.i386/ttys:1.20 src/etc/etc.i386/ttys:1.21
--- src/etc/etc.i386/ttys:1.20	Wed Jun 13 20:49:13 2012
+++ src/etc/etc.i386/ttys	Wed Sep 25 23:09:22 2019
@@ -1,11 +1,11 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.20 2012/06/13 20:49:13 martin Exp $
+#	$NetBSD: ttys,v 1.21 2019/09/25 23:09:22 abs Exp $
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty Pc"		vt100	on secure
-constty	"/usr/libexec/getty Pc"		vt100	off secure
+console	"/usr/libexec/getty Pc"		vt100	off secure
+constty	"/usr/libexec/getty Pc"		vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.ia64/ttys
diff -u src/etc/etc.ia64/ttys:1.1 src/etc/etc.ia64/ttys:1.2
--- src/etc/etc.ia64/ttys:1.1	Fri Aug  5 16:22:08 2016
+++ src/etc/etc.ia64/ttys	Wed Sep 25 23:09:22 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.1 2016/08/05 16:22:08 scole Exp $
+#	$NetBSD: ttys,v 1.2 2019/09/25 23:09:22 abs Exp $
 #
 # name	getty				type	status		comments
 
@@ -7,8 +7,8 @@
 # enabled for the correct 'real' device (e.g. one of the serial ports).
 
 # console pseudo-device
-console	"/usr/libexec/getty std.9600"	vt100 on secure
-constty	"/usr/libexec/getty std.9600"	vt100 off secure
+console	"/usr/libexec/getty std.9600"	vt100 off secure
+constty	"/usr/libexec/getty std.9600"	vt100 on secure
 
 # Workstation console (framebuffer) ttys
 ttyE0	"/usr/libexec/getty std.9600"	wsvt25 off secure

Index: src/etc/etc.iyonix/ttys
diff -u src/etc/etc.iyonix/ttys:1.4 src/etc/etc.iyonix/ttys:1.5
--- src/etc/etc.iyonix/ttys:1.4	Wed Jun 13 20:49:13 2012
+++ src/etc/etc.iyonix/ttys	Wed Sep 25 23:09:22 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.4 2012/06/13 20:49:13 martin Exp $
+#	$NetBSD: ttys,v 1.5 2019/09/25 23:09:22 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.landisk/ttys
diff -u src/etc/etc.landisk/ttys:1.3 src/etc/etc.landisk/ttys:1.4
--- src/etc/etc.landisk/ttys:1.3	Wed May  8 15:14:27 2013
+++ src/etc/etc.landisk/ttys	Wed Sep 25 23:09:22 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.3 2013/05/08 15:14:27 tsutsui Exp $
+#	$NetBSD: ttys,v 1.4 2019/09/25 23:09:22 abs Exp $
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
@@ -8,7 +8,7 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty std.9600"	unknown	on secure
-constty "/usr/libexec/getty std.9600"	unknown	off secure
+console "/usr/libexec/getty std.9600"	unknown	off secure
+constty "/usr/libexec/getty std.9600"	unknown	on secure
 
 scif0	"/usr/libexec/getty std.9600"	vt100	off secure local

Index: src/etc/etc.luna68k/ttys
diff -u src/etc/etc.luna68k/ttys:1.8 src/etc/etc.luna68k/ttys:1.9
--- src/etc/etc.luna68k/ttys:1.8	Mon Jan 14 09:23:45 2013
+++ src/etc/etc.luna68k/ttys	Wed Sep 25 23:09:22 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.8 2013/01/14 09:23:45 tsutsui Exp $
+#	$NetBSD: ttys,v 1.9 2019/09/25 23:09:22 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
@@ -9,8 +9,8 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty Pc"		vt100	on secure
-constty "/usr/libexec/getty Pc"		vt100	off secure
+console "/usr/libexec/getty Pc"		vt100	off secure
+constty "/usr/libexec/getty Pc"		vt100	on secure
 
 #
 # Workstation console.

Index: src/etc/etc.mipsco/ttys
diff -u src/etc/etc.mipsco/ttys:1.6 src/etc/etc.mipsco/ttys:1.7
--- src/etc/etc.mipsco/ttys:1.6	Tue Oct  7 10:00:02 2008
+++ src/etc/etc.mipsco/ttys	Wed Sep 25 23:09:22 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.6 2008/10/07 10:00:02 abs Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:22 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty std.9600"	vt100	on secure
-constty	"/usr/libexec/getty std.9600"	vt100	off secure
+console	"/usr/libexec/getty std.9600"	vt100	off secure
+constty	"/usr/libexec/getty std.9600"	vt100	on secure
 tty00	"/usr/libexec/getty std.9600"	unknown	off secure
 tty01	"/usr/libexec/getty std.9600"	unknown	off secure
 tty02	"/usr/libexec/getty std.9600"	unknown	off secure

Index: src/etc/etc.mmeye/ttys
diff -u src/etc/etc.mmeye/ttys:1.7 src/etc/etc.mmeye/ttys:1.8
--- src/etc/etc.mmeye/ttys:1.7	Tue Oct  7 10:00:02 2008
+++ src/etc/etc.mmeye/ttys	Wed Sep 25 23:09:22 2019
@@ -1,10 +1,10 @@
-#	$NetBSD: ttys,v 1.7 2008/10/07 10:00:02 abs Exp $
+#	$NetBSD: ttys,v 1.8 2019/09/25 23:09:22 abs Exp $
 #
 #	@(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty std.19200"	vt100	on secure
-constty	"/usr/libexec/getty std.19200"	vt100	off secure
+console	"/usr/libexec/getty std.19200"	vt100	off secure
+constty	"/usr/libexec/getty std.19200"	vt100	on secure
 tty00	"/usr/libexec/getty std.9600"	unknown	off secure
 tty01	"/usr/libexec/getty std.9600"	unknown	off secure

Index: src/etc/etc.mvme68k/ttys
diff -u src/etc/etc.mvme68k/ttys:1.9 src/etc/etc.mvme68k/ttys:1.10
--- src/etc/etc.mvme68k/ttys:1.9	Tue Oct  7 10:00:02 2008
+++ src/etc/etc.mvme68k/ttys	Wed Sep 25 23:09:22 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.9 2008/10/07 10:00:02 abs Exp $
+#	$NetBSD: ttys,v 1.10 2019/09/25 23:09:22 abs Exp $
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
@@ -8,8 +8,8 @@
 #
 # /dev/console is always valid, regardless of the board type.
 #
-console "/usr/libexec/getty Pc"		dumb	on secure
-constty "/usr/libexec/getty Pc"		dumb	off secure
+console "/usr/libexec/getty Pc"		dumb	off secure
+constty "/usr/libexec/getty Pc"		dumb	on secure
 
 #
 # Hardwired lines are marked off, by default, so getty(8)

Index: src/etc/etc.mvmeppc/ttys
diff -u src/etc/etc.mvmeppc/ttys:1.6 src/etc/etc.mvmeppc/ttys:1.7
--- src/etc/etc.mvmeppc/ttys:1.6	Wed Jun 13 20:49:14 2012
+++ src/etc/etc.mvmeppc/ttys	Wed Sep 25 23:09:23 2019
@@ -1,12 +1,12 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.6 2012/06/13 20:49:14 martin Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:23 abs Exp $
 #
 # name	getty				type	status		comments
 #
 console	"/usr/libexec/getty std.9600"	vt100	off secure
 constty	"/usr/libexec/getty std.9600"	vt100	off secure
-ttyE0	"/usr/libexec/getty Pc"		wsvt25	off  secure
+ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 tty00	"/usr/libexec/getty std.9600"	vt100	on  secure
 tty01	"/usr/libexec/getty std.9600"	unknown off secure
 tty02	"/usr/libexec/getty std.9600"	unknown off secure

Index: src/etc/etc.netwinder/ttys
diff -u src/etc/etc.netwinder/ttys:1.8 src/etc/etc.netwinder/ttys:1.9
--- src/etc/etc.netwinder/ttys:1.8	Wed Jun 13 20:49:14 2012
+++ src/etc/etc.netwinder/ttys	Wed Sep 25 23:09:23 2019
@@ -1,11 +1,11 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.8 2012/06/13 20:49:14 martin Exp $
+#	$NetBSD: ttys,v 1.9 2019/09/25 23:09:23 abs Exp $
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.news68k/ttys
diff -u src/etc/etc.news68k/ttys:1.9 src/etc/etc.news68k/ttys:1.10
--- src/etc/etc.news68k/ttys:1.9	Sun Nov 20 17:21:15 2011
+++ src/etc/etc.news68k/ttys	Wed Sep 25 23:09:23 2019
@@ -1,12 +1,12 @@
 #
 #	@(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.9 2011/11/20 17:21:15 tsutsui Exp $
+#	$NetBSD: ttys,v 1.10 2019/09/25 23:09:23 abs Exp $
 #
 # name	getty				type	status		comments
 #
 # Note: the console redirects to one of: kd, ttya, ttyb
-console	"/usr/libexec/getty std.9600"	vt100	on  secure
-constty	"/usr/libexec/getty std.9600"	vt100	off secure
+console	"/usr/libexec/getty std.9600"	vt100	off secure
+constty	"/usr/libexec/getty std.9600"	vt100	on secure
 romcons	"/usr/libexec/getty std.9600"	news	off secure
 ttyZ0	"/usr/libexec/getty std.9600"	vt100	off secure
 ttyZ1	"/usr/libexec/getty std.9600"	unknown	on secure

Index: src/etc/etc.newsmips/ttys
diff -u src/etc/etc.newsmips/ttys:1.9 src/etc/etc.newsmips/ttys:1.10
--- src/etc/etc.newsmips/ttys:1.9	Wed Jun 13 20:49:14 2012
+++ src/etc/etc.newsmips/ttys	Wed Sep 25 23:09:23 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.9 2012/06/13 20:49:14 martin Exp $
+#	$NetBSD: ttys,v 1.10 2019/09/25 23:09:23 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty std.9600"	vt100	on secure
-constty	"/usr/libexec/getty std.9600"	vt100	off secure
+console	"/usr/libexec/getty std.9600"	vt100	off secure
+constty	"/usr/libexec/getty std.9600"	vt100	on secure
 ttyE0	"/usr/libexec/getty std.9600"	wsvt25	off secure
 
 ttyZ0	"/usr/libexec/getty std.9600"	unknown	off secure

Index: src/etc/etc.next68k/ttys
diff -u src/etc/etc.next68k/ttys:1.10 src/etc/etc.next68k/ttys:1.11
--- src/etc/etc.next68k/ttys:1.10	Wed Jun 13 20:49:14 2012
+++ src/etc/etc.next68k/ttys	Wed Sep 25 23:09:23 2019
@@ -1,12 +1,12 @@
-#	$NetBSD: ttys,v 1.10 2012/06/13 20:49:14 martin Exp $
+#	$NetBSD: ttys,v 1.11 2019/09/25 23:09:23 abs Exp $
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console "/usr/libexec/getty Pc"		unknown	on secure
-constty "/usr/libexec/getty Pc"		unknown	off secure
+console "/usr/libexec/getty Pc"		unknown	off secure
+constty "/usr/libexec/getty Pc"		unknown	on secure
 #
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.or1k/ttys
diff -u src/etc/etc.or1k/ttys:1.1 src/etc/etc.or1k/ttys:1.2
--- src/etc/etc.or1k/ttys:1.1	Wed Sep  3 19:34:25 2014
+++ src/etc/etc.or1k/ttys	Wed Sep 25 23:09:23 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.1 2014/09/03 19:34:25 matt Exp $
+#	$NetBSD: ttys,v 1.2 2019/09/25 23:09:23 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.playstation2/ttys
diff -u src/etc/etc.playstation2/ttys:1.6 src/etc/etc.playstation2/ttys:1.7
--- src/etc/etc.playstation2/ttys:1.6	Mon Mar 31 11:25:48 2014
+++ src/etc/etc.playstation2/ttys	Wed Sep 25 23:09:23 2019
@@ -1,8 +1,9 @@
 #
-#	$NetBSD: ttys,v 1.6 2014/03/31 11:25:48 martin Exp $
+#	$NetBSD: ttys,v 1.7 2019/09/25 23:09:23 abs Exp $
 #
 # name	getty				type	status		comments
 
+console	"/usr/libexec/getty std.9600"	vt100	off secure
 constty	"/usr/libexec/getty std.9600"	vt100	off secure
 
 # Workstation console (framebuffer) ttys

Index: src/etc/etc.pmax/ttys
diff -u src/etc/etc.pmax/ttys:1.15 src/etc/etc.pmax/ttys:1.16
--- src/etc/etc.pmax/ttys:1.15	Wed Jun 13 20:49:14 2012
+++ src/etc/etc.pmax/ttys	Wed Sep 25 23:09:23 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.15 2012/06/13 20:49:14 martin Exp $
+#	$NetBSD: ttys,v 1.16 2019/09/25 23:09:23 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty std.9600"	vt220	on secure
-constty	"/usr/libexec/getty std.9600"	vt220	off secure
+console	"/usr/libexec/getty std.9600"	vt220	off secure
+constty	"/usr/libexec/getty std.9600"	vt220	on secure
 #
 # Workstation console.  Currently, only the px and pxg drivers support
 # virtual terminals.

Index: src/etc/etc.riscv/ttys
diff -u src/etc/etc.riscv/ttys:1.1 src/etc/etc.riscv/ttys:1.2
--- src/etc/etc.riscv/ttys:1.1	Fri Sep 19 17:36:24 2014
+++ src/etc/etc.riscv/ttys	Wed Sep 25 23:09:24 2019
@@ -1,7 +1,8 @@
-# $NetBSD: ttys,v 1.1 2014/09/19 17:36:24 matt Exp $
+# $NetBSD: ttys,v 1.2 2019/09/25 23:09:24 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure

Index: src/etc/etc.sandpoint/ttys
diff -u src/etc/etc.sandpoint/ttys:1.7 src/etc/etc.sandpoint/ttys:1.8
--- src/etc/etc.sandpoint/ttys:1.7	Sun Jun 13 15:30:37 2010
+++ src/etc/etc.sandpoint/ttys	Wed Sep 25 23:09:24 2019
@@ -1,10 +1,10 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.7 2010/06/13 15:30:37 phx Exp $
+#	$NetBSD: ttys,v 1.8 2019/09/25 23:09:24 abs Exp $
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty std.115200"	vt100	on secure
-constty	"/usr/libexec/getty std.115200"	vt100	off secure
+console	"/usr/libexec/getty std.115200"	vt100	off secure
+constty	"/usr/libexec/getty std.115200"	vt100	on secure
 tty00	"/usr/libexec/getty std.115200"	vt100	off secure
 tty01	"/usr/libexec/getty std.9600"	unknown	off secure

Index: src/etc/etc.sbmips/ttys
diff -u src/etc/etc.sbmips/ttys:1.5 src/etc/etc.sbmips/ttys:1.6
--- src/etc/etc.sbmips/ttys:1.5	Tue Oct  7 10:00:02 2008
+++ src/etc/etc.sbmips/ttys	Wed Sep 25 23:09:24 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.5 2008/10/07 10:00:02 abs Exp $
+#	$NetBSD: ttys,v 1.6 2019/09/25 23:09:24 abs Exp $
 #
 # name	getty				type	status		comments
 
@@ -8,8 +8,8 @@
 # If the console is marked insecure, single-user requires the root password.
 
 # Console pseudo-device
-console	"/usr/libexec/getty std.115200"	vt100	on secure
-constty	"/usr/libexec/getty std.115200"	vt100	off secure
+console	"/usr/libexec/getty std.115200"	vt100	off secure
+constty	"/usr/libexec/getty std.115200"	vt100	on secure
 
 # SB1250 ("sbscn") serial ports
 tty00	"/usr/libexec/getty std.115200"	unknown	off secure

Index: src/etc/etc.sgimips/ttys
diff -u src/etc/etc.sgimips/ttys:1.10 src/etc/etc.sgimips/ttys:1.11
--- src/etc/etc.sgimips/ttys:1.10	Wed Jun 13 20:49:15 2012
+++ src/etc/etc.sgimips/ttys	Wed Sep 25 23:09:24 2019
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: ttys,v 1.10 2012/06/13 20:49:15 martin Exp $
+#	$NetBSD: ttys,v 1.11 2019/09/25 23:09:24 abs Exp $
 #
 # name	getty				type	status		comments
 
@@ -8,8 +8,8 @@
 # If the console is marked insecure, single-user requires the root password.
 
 # Console pseudo-device
-console	"/usr/libexec/getty std.9600"	vt100	on secure
-constty	"/usr/libexec/getty std.9600"	vt100	off secure
+console	"/usr/libexec/getty std.9600"	vt100	off secure
+constty	"/usr/libexec/getty std.9600"	vt100	on secure
 
 # "com" serial console port
 ttyC0	"/usr/libexec/getty std.9600"	vt100	off secure

Index: src/etc/etc.shark/ttys
diff -u src/etc/etc.shark/ttys:1.8 src/etc/etc.shark/ttys:1.9
--- src/etc/etc.shark/ttys:1.8	Wed Jun 13 20:49:15 2012
+++ src/etc/etc.shark/ttys	Wed Sep 25 23:09:24 2019
@@ -1,11 +1,11 @@
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
-#	$NetBSD: ttys,v 1.8 2012/06/13 20:49:15 martin Exp $
+#	$NetBSD: ttys,v 1.9 2019/09/25 23:09:24 abs Exp $
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty Pc"		vt100	on secure
-constty	"/usr/libexec/getty Pc"		vt100	off secure
+console	"/usr/libexec/getty Pc"		vt100	off secure
+constty	"/usr/libexec/getty Pc"		vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Index: src/etc/etc.sparc/ttys
diff -u src/etc/etc.sparc/ttys:1.16 src/etc/etc.sparc/ttys:1.17
--- src/etc/etc.sparc/ttys:1.16	Tue Jun 26 02:05:43 2012
+++ src/etc/etc.sparc/ttys	Wed Sep 25 23:09:24 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.16 2012/06/26 02:05:43 macallan Exp $
+#	$NetBSD: ttys,v 1.17 2019/09/25 23:09:24 abs Exp $
 #
 #	@(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty suncons"	wsvt25	on secure
-constty	"/usr/libexec/getty suncons"	wsvt25	off secure
+console	"/usr/libexec/getty suncons"	wsvt25	off secure
+constty	"/usr/libexec/getty suncons"	wsvt25	on secure
 ttyE0	"/usr/libexec/getty suncons"	wsvt25	off secure
 ttyE1	"/usr/libexec/getty suncons"	wsvt25	off secure
 ttyE2	"/usr/libexec/getty suncons"	wsvt25	off secure

Index: src/etc/etc.sparc64/ttys
diff -u src/etc/etc.sparc64/ttys:1.11 src/etc/etc.sparc64/ttys:1.12
--- src/etc/etc.sparc64/ttys:1.11	Mon Feb 23 13:52:51 2015
+++ src/etc/etc.sparc64/ttys	Wed Sep 25 23:09:24 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.11 2015/02/23 13:52:51 mrg Exp $
+#	$NetBSD: ttys,v 1.12 2019/09/25 23:09:24 abs Exp $
 #
 #	@(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty suncons"	wsvt25	on secure
-constty	"/usr/libexec/getty suncons"	wsvt25	off secure
+console	"/usr/libexec/getty suncons"	wsvt25	off secure
+constty	"/usr/libexec/getty suncons"	wsvt25	on secure
 ttyE0	"/usr/libexec/getty suncons"	wsvt25	off secure
 ttyE1	"/usr/libexec/getty suncons"	wsvt25	off secure
 ttyE2	"/usr/libexec/getty suncons"	wsvt25	off secure

Index: src/etc/etc.vax/ttys
diff -u src/etc/etc.vax/ttys:1.9 src/etc/etc.vax/ttys:1.10
--- src/etc/etc.vax/ttys:1.9	Tue Oct  7 10:00:03 2008
+++ src/etc/etc.vax/ttys	Wed Sep 25 23:09:24 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: ttys,v 1.9 2008/10/07 10:00:03 abs Exp $
+#	$NetBSD: ttys,v 1.10 2019/09/25 23:09:24 abs Exp $
 #
 #	@(#)ttys	5.2 (Berkeley) 6/10/93
 #
@@ -6,8 +6,8 @@
 #
 # If the console is marked insecure, single-user requires
 # the root password.
-console	"/usr/libexec/getty std.9600"	unknown	on secure
-constty	"/usr/libexec/getty std.9600"	unknown	off secure
+console	"/usr/libexec/getty std.9600"	unknown	off secure
+constty	"/usr/libexec/getty std.9600"	unknown	on secure
 
 # Virtual terminals on VS3100 with "glass tty"
 #ttyw0	"/usr/libexec/getty std.9600"	sun on secure

Index: src/etc/etc.zaurus/ttys
diff -u src/etc/etc.zaurus/ttys:1.3 src/etc/etc.zaurus/ttys:1.4
--- src/etc/etc.zaurus/ttys:1.3	Wed Jun 13 20:49:15 2012
+++ src/etc/etc.zaurus/ttys	Wed Sep 25 23:09:24 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ttys,v 1.3 2012/06/13 20:49:15 martin Exp $
+#	$NetBSD: ttys,v 1.4 2019/09/25 23:09:24 abs Exp $
 #
 #	from: @(#)ttys	5.1 (Berkeley) 4/17/89
 #
 # name	getty				type	status		comments
 #
-console	"/usr/libexec/getty default"	vt100	on secure
-constty	"/usr/libexec/getty default"	vt100	off secure
+console	"/usr/libexec/getty default"	vt100	off secure
+constty	"/usr/libexec/getty default"	vt100	on secure
 ttyE0	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE1	"/usr/libexec/getty Pc"		wsvt25	off secure
 ttyE2	"/usr/libexec/getty Pc"		wsvt25	off secure

Reply via email to