039df638d6
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
41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
# $NetBSD: ttys,v 1.10 2019/09/25 23:09:24 abs Exp $
|
|
#
|
|
# @(#)ttys 5.2 (Berkeley) 6/10/93
|
|
#
|
|
# name getty type status comments
|
|
#
|
|
# If the console is marked insecure, single-user requires
|
|
# the root password.
|
|
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
|
|
#ttyw1 "/usr/libexec/getty std.9600" sun on secure
|
|
#ttyw2 "/usr/libexec/getty std.9600" sun on secure
|
|
#ttyw3 "/usr/libexec/getty std.9600" sun on secure
|
|
#ttyw4 "/usr/libexec/getty std.9600" sun on secure
|
|
#ttyw5 "/usr/libexec/getty std.9600" sun on secure
|
|
#ttyw6 "/usr/libexec/getty std.9600" sun on secure
|
|
#ttyw7 "/usr/libexec/getty std.9600" sun on secure
|
|
|
|
# DZ-11 lines, not frobbed by getty (keyboard/mouse may be sad)
|
|
#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
|
|
#tty03 "/usr/libexec/getty std.9600" unknown off secure
|
|
#tty04 "/usr/libexec/getty std.9600" unknown off secure
|
|
#tty05 "/usr/libexec/getty std.9600" unknown off secure
|
|
#tty06 "/usr/libexec/getty std.9600" unknown off secure
|
|
#tty07 "/usr/libexec/getty std.9600" unknown off secure
|
|
|
|
# DHU-11/DHV-11 lines
|
|
#ttyS0 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS1 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS2 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS3 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS4 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS5 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS6 "/usr/libexec/getty std.9600" unknown off secure
|
|
#ttyS7 "/usr/libexec/getty std.9600" unknown off secure
|