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
This commit is contained in:
abs 2019-09-25 23:09:19 +00:00
parent b2a6d3cca7
commit 039df638d6
44 changed files with 129 additions and 125 deletions

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
# #
# 16550-compatible serial ports # 16550-compatible serial ports
# #

View File

@ -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 # name getty type status comments
@ -7,8 +7,8 @@
# enabled for the correct 'real' device (e.g. one of the serial ports). # enabled for the correct 'real' device (e.g. one of the serial ports).
# console pseudo-device # console pseudo-device
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/usr/libexec/getty std.9600" vt100 off secure constty "/usr/libexec/getty std.9600" vt100 on secure
# Workstation console (framebuffer) ttys # Workstation console (framebuffer) ttys
ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure

View File

@ -1,11 +1,11 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # name getty type status comments
# #
console "/usr/libexec/getty Pc" vt100 on secure console "/usr/libexec/getty Pc" vt100 off secure
constty "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
@ -7,8 +7,8 @@
# #
# If the console is marked insecure, single-user requires # If the console is marked insecure, single-user requires
# the root password. # the root password.
console "/usr/libexec/getty Pc" wsvt25 on secure console "/usr/libexec/getty Pc" wsvt25 off secure
constty "/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 ttye0 "/usr/libexec/getty Pc" wsvt25 off secure # custom chips
ttye1 "/usr/libexec/getty Pc" wsvt25 off secure # retina ttye1 "/usr/libexec/getty Pc" wsvt25 off secure # retina
ttye2 "/usr/libexec/getty Pc" wsvt25 off secure # retina ttye2 "/usr/libexec/getty Pc" wsvt25 off secure # retina

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
@ -7,8 +7,8 @@
# #
# If the console is marked insecure, single-user requires # If the console is marked insecure, single-user requires
# the root password. # the root password.
console "/usr/libexec/getty Pc" wsvt25 on secure console "/usr/libexec/getty Pc" wsvt25 off secure
constty "/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 ttye0 "/usr/libexec/getty Pc" wsvt25 off secure # custom chips
ttye1 "/usr/libexec/getty Pc" wsvt25 off secure # retina ttye1 "/usr/libexec/getty Pc" wsvt25 off secure # retina
ttye2 "/usr/libexec/getty Pc" wsvt25 off secure # retina ttye2 "/usr/libexec/getty Pc" wsvt25 off secure # retina

View File

@ -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 # name getty type status comments
@ -7,8 +7,8 @@
# enabled for the correct 'real' device (e.g. one of the serial ports). # enabled for the correct 'real' device (e.g. one of the serial ports).
# console pseudo-device # console pseudo-device
console "/usr/libexec/getty std.9600" vt220 on secure console "/usr/libexec/getty std.9600" vt220 off secure
constty "/usr/libexec/getty std.9600" vt220 off secure constty "/usr/libexec/getty std.9600" vt220 on secure
# Workstation console # Workstation console
ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure

View File

@ -1,3 +1,3 @@
# $NetBSD: ttys,v 1.5 2008/10/07 10:00:01 abs Exp $ # $NetBSD: ttys,v 1.6 2019/09/25 23:09:20 abs Exp $
console "/usr/libexec/getty std.9600" unknown on secure console "/usr/libexec/getty std.9600" unknown off secure
constty "/usr/libexec/getty std.9600" unknown off secure constty "/usr/libexec/getty std.9600" unknown on secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
@ -6,7 +6,8 @@
# #
# Assumes you use PuTTY on your serial line # 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 # ttys for serial ports
# #

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
@ -8,8 +8,8 @@
# #
# /dev/console is always valid, regardless of the board type. # /dev/console is always valid, regardless of the board type.
# #
console "/usr/libexec/getty Pc" dumb on secure console "/usr/libexec/getty Pc" dumb off secure
constty "/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) # Hardwired lines are marked off, by default, so getty(8)

View File

@ -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 # name getty type status comments
@ -8,8 +8,8 @@
# If the console is marked insecure, single-user requires the root password. # If the console is marked insecure, single-user requires the root password.
# Console pseudo-device # Console pseudo-device
console "/usr/libexec/getty default" vt100 on secure console "/usr/libexec/getty default" vt100 off secure
constty "/usr/libexec/getty default" vt100 off secure constty "/usr/libexec/getty default" vt100 on secure
# NS16550 ("com") serial ports # NS16550 ("com") serial ports
tty00 "/usr/libexec/getty default" unknown off secure tty00 "/usr/libexec/getty default" unknown off secure

View File

@ -1,11 +1,11 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
#ttyE0 "/usr/libexec/getty Pc" pc3 off secure #ttyE0 "/usr/libexec/getty Pc" pc3 off secure
tty00 "/usr/libexec/getty default" unknown off secure tty00 "/usr/libexec/getty default" unknown off secure
tty01 "/usr/libexec/getty default" unknown off secure tty01 "/usr/libexec/getty default" unknown off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
@ -8,8 +8,8 @@
# #
# /dev/console is always valid, regardless of the board type. # /dev/console is always valid, regardless of the board type.
# #
console "/usr/libexec/getty std.115200" unknown on secure console "/usr/libexec/getty std.115200" unknown off secure
constty "/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 #tty00 "/usr/libexec/getty std.9600" unknown off secure
#tty01 "/usr/libexec/getty std.9600" unknown off secure #tty01 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -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 # name getty type status comments
console "/usr/libexec/getty std.9600" wsvt25 off secure
constty "/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 ttyE0 "/usr/libexec/getty std.9600" wsvt25 on secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
# If the console is marked insecure, single-user requires # If the console is marked insecure, single-user requires
# the root password. # the root password.
console "/usr/libexec/getty Pc" vt220 on secure console "/usr/libexec/getty Pc" vt220 off secure
constty "/usr/libexec/getty Pc" vt220 off secure constty "/usr/libexec/getty Pc" vt220 on secure
# Workstation console # Workstation console
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # name getty type status comments
# serial port # serial port
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/usr/libexec/getty std.9600" vt100 off secure constty "/usr/libexec/getty std.9600" vt100 on secure
# Workstation console (framebuffer) ttys # Workstation console (framebuffer) ttys
ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure

View File

@ -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 $ # $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 # If the console is marked insecure, single-user requires
# the root password. # the root password.
console "/usr/libexec/getty Pc" vt100 on secure console "/usr/libexec/getty Pc" vt100 off secure
constty "/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) # Hardwired lines are marked off, by default, so getty(8)
# is quiet when they don't exist. # is quiet when they don't exist.

View File

@ -1,11 +1,11 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # name getty type status comments
# #
console "/usr/libexec/getty Pc" vt100 on secure console "/usr/libexec/getty Pc" vt100 off secure
constty "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # name getty type status comments
@ -7,8 +7,8 @@
# enabled for the correct 'real' device (e.g. one of the serial ports). # enabled for the correct 'real' device (e.g. one of the serial ports).
# console pseudo-device # console pseudo-device
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/usr/libexec/getty std.9600" vt100 off secure constty "/usr/libexec/getty std.9600" vt100 on secure
# Workstation console (framebuffer) ttys # Workstation console (framebuffer) ttys
ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
@ -8,7 +8,7 @@
# #
# /dev/console is always valid, regardless of the board type. # /dev/console is always valid, regardless of the board type.
# #
console "/usr/libexec/getty std.9600" unknown on secure console "/usr/libexec/getty std.9600" unknown off secure
constty "/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 scif0 "/usr/libexec/getty std.9600" vt100 off secure local

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
@ -9,8 +9,8 @@
# #
# /dev/console is always valid, regardless of the board type. # /dev/console is always valid, regardless of the board type.
# #
console "/usr/libexec/getty Pc" vt100 on secure console "/usr/libexec/getty Pc" vt100 off secure
constty "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure
# #
# Workstation console. # Workstation console.

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/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 tty00 "/usr/libexec/getty std.9600" unknown off secure
tty01 "/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 tty02 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -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 # @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
console "/usr/libexec/getty std.19200" vt100 on secure console "/usr/libexec/getty std.19200" vt100 off secure
constty "/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 tty00 "/usr/libexec/getty std.9600" unknown off secure
tty01 "/usr/libexec/getty std.9600" unknown off secure tty01 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
@ -8,8 +8,8 @@
# #
# /dev/console is always valid, regardless of the board type. # /dev/console is always valid, regardless of the board type.
# #
console "/usr/libexec/getty Pc" dumb on secure console "/usr/libexec/getty Pc" dumb off secure
constty "/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) # Hardwired lines are marked off, by default, so getty(8)

View File

@ -1,12 +1,12 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # name getty type status comments
# #
console "/usr/libexec/getty std.9600" vt100 off secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/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 tty00 "/usr/libexec/getty std.9600" vt100 on secure
tty01 "/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 tty02 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -1,11 +1,11 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -1,12 +1,12 @@
# #
# @(#)ttys 5.1 (Berkeley) 4/17/89 # @(#)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 # name getty type status comments
# #
# Note: the console redirects to one of: kd, ttya, ttyb # Note: the console redirects to one of: kd, ttya, ttyb
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/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 romcons "/usr/libexec/getty std.9600" news off secure
ttyZ0 "/usr/libexec/getty std.9600" vt100 off secure ttyZ0 "/usr/libexec/getty std.9600" vt100 off secure
ttyZ1 "/usr/libexec/getty std.9600" unknown on secure ttyZ1 "/usr/libexec/getty std.9600" unknown on secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/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 ttyE0 "/usr/libexec/getty std.9600" wsvt25 off secure
ttyZ0 "/usr/libexec/getty std.9600" unknown off secure ttyZ0 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
# If the console is marked insecure, single-user requires # If the console is marked insecure, single-user requires
# the root password. # the root password.
console "/usr/libexec/getty Pc" unknown on secure console "/usr/libexec/getty Pc" unknown off secure
constty "/usr/libexec/getty Pc" unknown off secure constty "/usr/libexec/getty Pc" unknown on secure
# #
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # name getty type status comments
console "/usr/libexec/getty std.9600" vt100 off secure
constty "/usr/libexec/getty std.9600" vt100 off secure constty "/usr/libexec/getty std.9600" vt100 off secure
# Workstation console (framebuffer) ttys # Workstation console (framebuffer) ttys

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
console "/usr/libexec/getty std.9600" vt220 on secure console "/usr/libexec/getty std.9600" vt220 off secure
constty "/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 # Workstation console. Currently, only the px and pxg drivers support
# virtual terminals. # virtual terminals.

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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

View File

@ -1,10 +1,10 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # name getty type status comments
# #
console "/usr/libexec/getty std.115200" vt100 on secure console "/usr/libexec/getty std.115200" vt100 off secure
constty "/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 tty00 "/usr/libexec/getty std.115200" vt100 off secure
tty01 "/usr/libexec/getty std.9600" unknown off secure tty01 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -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 # name getty type status comments
@ -8,8 +8,8 @@
# If the console is marked insecure, single-user requires the root password. # If the console is marked insecure, single-user requires the root password.
# Console pseudo-device # Console pseudo-device
console "/usr/libexec/getty std.115200" vt100 on secure console "/usr/libexec/getty std.115200" vt100 off secure
constty "/usr/libexec/getty std.115200" vt100 off secure constty "/usr/libexec/getty std.115200" vt100 on secure
# SB1250 ("sbscn") serial ports # SB1250 ("sbscn") serial ports
tty00 "/usr/libexec/getty std.115200" unknown off secure tty00 "/usr/libexec/getty std.115200" unknown off secure

View File

@ -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 # name getty type status comments
@ -8,8 +8,8 @@
# If the console is marked insecure, single-user requires the root password. # If the console is marked insecure, single-user requires the root password.
# Console pseudo-device # Console pseudo-device
console "/usr/libexec/getty std.9600" vt100 on secure console "/usr/libexec/getty std.9600" vt100 off secure
constty "/usr/libexec/getty std.9600" vt100 off secure constty "/usr/libexec/getty std.9600" vt100 on secure
# "com" serial console port # "com" serial console port
ttyC0 "/usr/libexec/getty std.9600" vt100 off secure ttyC0 "/usr/libexec/getty std.9600" vt100 off secure

View File

@ -1,11 +1,11 @@
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # 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 # name getty type status comments
# #
console "/usr/libexec/getty Pc" vt100 on secure console "/usr/libexec/getty Pc" vt100 off secure
constty "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure

View File

@ -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 # @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
console "/usr/libexec/getty suncons" wsvt25 on secure console "/usr/libexec/getty suncons" wsvt25 off secure
constty "/usr/libexec/getty suncons" wsvt25 off secure constty "/usr/libexec/getty suncons" wsvt25 on secure
ttyE0 "/usr/libexec/getty suncons" wsvt25 off secure ttyE0 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE1 "/usr/libexec/getty suncons" wsvt25 off secure ttyE1 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE2 "/usr/libexec/getty suncons" wsvt25 off secure ttyE2 "/usr/libexec/getty suncons" wsvt25 off secure

View File

@ -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 # @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # name getty type status comments
# #
console "/usr/libexec/getty suncons" wsvt25 on secure console "/usr/libexec/getty suncons" wsvt25 off secure
constty "/usr/libexec/getty suncons" wsvt25 off secure constty "/usr/libexec/getty suncons" wsvt25 on secure
ttyE0 "/usr/libexec/getty suncons" wsvt25 off secure ttyE0 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE1 "/usr/libexec/getty suncons" wsvt25 off secure ttyE1 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE2 "/usr/libexec/getty suncons" wsvt25 off secure ttyE2 "/usr/libexec/getty suncons" wsvt25 off secure

View File

@ -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 # @(#)ttys 5.2 (Berkeley) 6/10/93
# #
@ -6,8 +6,8 @@
# #
# If the console is marked insecure, single-user requires # If the console is marked insecure, single-user requires
# the root password. # the root password.
console "/usr/libexec/getty std.9600" unknown on secure console "/usr/libexec/getty std.9600" unknown off secure
constty "/usr/libexec/getty std.9600" unknown off secure constty "/usr/libexec/getty std.9600" unknown on secure
# Virtual terminals on VS3100 with "glass tty" # Virtual terminals on VS3100 with "glass tty"
#ttyw0 "/usr/libexec/getty std.9600" sun on secure #ttyw0 "/usr/libexec/getty std.9600" sun on secure

View File

@ -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 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #
# name getty type status comments # 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 off secure constty "/usr/libexec/getty default" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure