diff options
| author | abs <abs@NetBSD.org> | 2019-09-25 23:09:19 +0000 |
|---|---|---|
| committer | abs <abs@NetBSD.org> | 2019-09-25 23:09:19 +0000 |
| commit | 34417aba2b5c268a203b5ed3c14f162a90ba0956 (patch) | |
| tree | c17172623f5342282ee800c75c5c164f75c129c6 | |
| parent | 09f8a4bab794359f7fa20251963ecdcb24f20467 (diff) | |
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
44 files changed, 129 insertions, 125 deletions
diff --git a/etc/etc.aarch64/ttys b/etc/etc.aarch64/ttys index 4f419f5fec2..e4d2ee66959 100644 --- a/etc/etc.aarch64/ttys +++ b/etc/etc.aarch64/ttys @@ -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 diff --git a/etc/etc.algor/ttys b/etc/etc.algor/ttys index 4a84fd4bfb7..b52be80da09 100644 --- a/etc/etc.algor/ttys +++ b/etc/etc.algor/ttys @@ -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 # diff --git a/etc/etc.alpha/ttys b/etc/etc.alpha/ttys index 347b8fc09fd..9827715289a 100644 --- a/etc/etc.alpha/ttys +++ b/etc/etc.alpha/ttys @@ -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 diff --git a/etc/etc.amd64/ttys b/etc/etc.amd64/ttys index b9ea35f19eb..2498907f701 100644 --- a/etc/etc.amd64/ttys +++ b/etc/etc.amd64/ttys @@ -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 diff --git a/etc/etc.amiga/ttys b/etc/etc.amiga/ttys index 90f1a741600..bbcfd032382 100644 --- a/etc/etc.amiga/ttys +++ b/etc/etc.amiga/ttys @@ -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 diff --git a/etc/etc.amigappc/ttys b/etc/etc.amigappc/ttys index f59d863fba6..71924acfb77 100644 --- a/etc/etc.amigappc/ttys +++ b/etc/etc.amigappc/ttys @@ -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 diff --git a/etc/etc.arc/ttys b/etc/etc.arc/ttys index 5b8bcf48b20..cc88ac90753 100644 --- a/etc/etc.arc/ttys +++ b/etc/etc.arc/ttys @@ -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 diff --git a/etc/etc.cesfic/ttys b/etc/etc.cesfic/ttys index 48a697e59bf..5ad00b398e9 100644 --- a/etc/etc.cesfic/ttys +++ b/etc/etc.cesfic/ttys @@ -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 diff --git a/etc/etc.emips/ttys b/etc/etc.emips/ttys index e5eaa5aa9c2..3647b1263f6 100644 --- a/etc/etc.emips/ttys +++ b/etc/etc.emips/ttys @@ -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 # diff --git a/etc/etc.epoc32/ttys b/etc/etc.epoc32/ttys index 947bea2dc74..1b80e3fbb18 100644 --- a/etc/etc.epoc32/ttys +++ b/etc/etc.epoc32/ttys @@ -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 diff --git a/etc/etc.evbarm/ttys b/etc/etc.evbarm/ttys index 8cf9cf8a92b..706bc0ee051 100644 --- a/etc/etc.evbarm/ttys +++ b/etc/etc.evbarm/ttys @@ -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 diff --git a/etc/etc.evbcf/ttys b/etc/etc.evbcf/ttys index 5ba6a7eb17d..7bda5604d86 100644 --- a/etc/etc.evbcf/ttys +++ b/etc/etc.evbcf/ttys @@ -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) diff --git a/etc/etc.evbmips/ttys b/etc/etc.evbmips/ttys index 7fc862f8fae..2b12cd720fb 100644 --- a/etc/etc.evbmips/ttys +++ b/etc/etc.evbmips/ttys @@ -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 diff --git a/etc/etc.evbppc/ttys b/etc/etc.evbppc/ttys index 177f931094d..6758004a79c 100644 --- a/etc/etc.evbppc/ttys +++ b/etc/etc.evbppc/ttys @@ -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 diff --git a/etc/etc.evbsh3/ttys b/etc/etc.evbsh3/ttys index fc826004b16..daa82dd65ec 100644 --- a/etc/etc.evbsh3/ttys +++ b/etc/etc.evbsh3/ttys @@ -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 diff --git a/etc/etc.ews4800mips/ttys b/etc/etc.ews4800mips/ttys index 045610106bc..10ca2bf974f 100644 --- a/etc/etc.ews4800mips/ttys +++ b/etc/etc.ews4800mips/ttys @@ -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 diff --git a/etc/etc.hp300/ttys b/etc/etc.hp300/ttys index e958a9bac31..8eae7fd9808 100644 --- a/etc/etc.hp300/ttys +++ b/etc/etc.hp300/ttys @@ -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 diff --git a/etc/etc.hpcmips/ttys b/etc/etc.hpcmips/ttys index fe79cb7fe26..afa1009db91 100644 --- a/etc/etc.hpcmips/ttys +++ b/etc/etc.hpcmips/ttys @@ -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 diff --git a/etc/etc.hppa/ttys b/etc/etc.hppa/ttys index d0f46327558..50024e5d81b 100644 --- a/etc/etc.hppa/ttys +++ b/etc/etc.hppa/ttys @@ -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. diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys index 0ebd2fbb93a..4a394391a2d 100644 --- a/etc/etc.i386/ttys +++ b/etc/etc.i386/ttys @@ -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 diff --git a/etc/etc.ia64/ttys b/etc/etc.ia64/ttys index d1f2de1a0e3..1767d2fa292 100644 --- a/etc/etc.ia64/ttys +++ b/etc/etc.ia64/ttys @@ -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 diff --git a/etc/etc.iyonix/ttys b/etc/etc.iyonix/ttys index 828cba0bbeb..e0436bdabd0 100644 --- a/etc/etc.iyonix/ttys +++ b/etc/etc.iyonix/ttys @@ -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 diff --git a/etc/etc.landisk/ttys b/etc/etc.landisk/ttys index 418b874e959..29aebc9aa48 100644 --- a/etc/etc.landisk/ttys +++ b/etc/etc.landisk/ttys @@ -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 diff --git a/etc/etc.luna68k/ttys b/etc/etc.luna68k/ttys index efac11efa12..203e58a6f75 100644 --- a/etc/etc.luna68k/ttys +++ b/etc/etc.luna68k/ttys @@ -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. diff --git a/etc/etc.mipsco/ttys b/etc/etc.mipsco/ttys index babf3d0d0df..3b755a25589 100644 --- a/etc/etc.mipsco/ttys +++ b/etc/etc.mipsco/ttys @@ -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 diff --git a/etc/etc.mmeye/ttys b/etc/etc.mmeye/ttys index 1565728e354..15ce0957480 100644 --- a/etc/etc.mmeye/ttys +++ b/etc/etc.mmeye/ttys @@ -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 diff --git a/etc/etc.mvme68k/ttys b/etc/etc.mvme68k/ttys index 3a3add80adf..6ddaaa0cf99 100644 --- a/etc/etc.mvme68k/ttys +++ b/etc/etc.mvme68k/ttys @@ -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) diff --git a/etc/etc.mvmeppc/ttys b/etc/etc.mvmeppc/ttys index 8e865fc21a4..f2c67885aa9 100644 --- a/etc/etc.mvmeppc/ttys +++ b/etc/etc.mvmeppc/ttys @@ -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 diff --git a/etc/etc.netwinder/ttys b/etc/etc.netwinder/ttys index ffd5d96e8bd..dfb0bdc584d 100644 --- a/etc/etc.netwinder/ttys +++ b/etc/etc.netwinder/ttys @@ -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 diff --git a/etc/etc.news68k/ttys b/etc/etc.news68k/ttys index 58bbc03a429..5a785e7dc64 100644 --- a/etc/etc.news68k/ttys +++ b/etc/etc.news68k/ttys @@ -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 diff --git a/etc/etc.newsmips/ttys b/etc/etc.newsmips/ttys index 948a108373c..95153dda5b2 100644 --- a/etc/etc.newsmips/ttys +++ b/etc/etc.newsmips/ttys @@ -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 diff --git a/etc/etc.next68k/ttys b/etc/etc.next68k/ttys index 3053447214a..2c34b0f4976 100644 --- a/etc/etc.next68k/ttys +++ b/etc/etc.next68k/ttys @@ -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 diff --git a/etc/etc.or1k/ttys b/etc/etc.or1k/ttys index 6f8d5e1e634..3295edf8d49 100644 --- a/etc/etc.or1k/ttys +++ b/etc/etc.or1k/ttys @@ -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 diff --git a/etc/etc.playstation2/ttys b/etc/etc.playstation2/ttys index 4861e073dda..24ba18b8d62 100644 --- a/etc/etc.playstation2/ttys +++ b/etc/etc.playstation2/ttys @@ -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 diff --git a/etc/etc.pmax/ttys b/etc/etc.pmax/ttys index ad867c6aa96..a68ebe25a77 100644 --- a/etc/etc.pmax/ttys +++ b/etc/etc.pmax/ttys @@ -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. diff --git a/etc/etc.riscv/ttys b/etc/etc.riscv/ttys index a61a9b458de..712dea1e987 100644 --- a/etc/etc.riscv/ttys +++ b/etc/etc.riscv/ttys @@ -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 diff --git a/etc/etc.sandpoint/ttys b/etc/etc.sandpoint/ttys index d1eb50f1d1d..aafa01293da 100644 --- a/etc/etc.sandpoint/ttys +++ b/etc/etc.sandpoint/ttys @@ -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 diff --git a/etc/etc.sbmips/ttys b/etc/etc.sbmips/ttys index da42f2331ca..732de7041b7 100644 --- a/etc/etc.sbmips/ttys +++ b/etc/etc.sbmips/ttys @@ -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 diff --git a/etc/etc.sgimips/ttys b/etc/etc.sgimips/ttys index e57291947ed..099ad047097 100644 --- a/etc/etc.sgimips/ttys +++ b/etc/etc.sgimips/ttys @@ -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 diff --git a/etc/etc.shark/ttys b/etc/etc.shark/ttys index 62737464d7d..5854893ba1b 100644 --- a/etc/etc.shark/ttys +++ b/etc/etc.shark/ttys @@ -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 diff --git a/etc/etc.sparc/ttys b/etc/etc.sparc/ttys index 8f8c900f28c..0277cccc0fc 100644 --- a/etc/etc.sparc/ttys +++ b/etc/etc.sparc/ttys @@ -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 diff --git a/etc/etc.sparc64/ttys b/etc/etc.sparc64/ttys index 3dd833007b0..16c61705224 100644 --- a/etc/etc.sparc64/ttys +++ b/etc/etc.sparc64/ttys @@ -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 diff --git a/etc/etc.vax/ttys b/etc/etc.vax/ttys index df5daacf72b..5135ab5cad9 100644 --- a/etc/etc.vax/ttys +++ b/etc/etc.vax/ttys @@ -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 diff --git a/etc/etc.zaurus/ttys b/etc/etc.zaurus/ttys index 7604699edb3..5a51fa39fd0 100644 --- a/etc/etc.zaurus/ttys +++ b/etc/etc.zaurus/ttys @@ -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 |
