make the installation media's life easier: - stop using ``Pc'' as a getty terminal type, use std.9600 instead. - on platforms with multiple virtual consoles (alpha, amd64, i386, zaurus), console is disabled, various ttyC* are enabled. - on other platforms, console is enabled, all other devices are disabled. This only changes armish, mac68k, sgi. - default terminal for console is unknown on serial-only machines, vt220 on glass-capable machines (questionable, but done for consistency). - minor whitespace changes. - glass console forgotten on a couple platforms (luna88k, sparc64, vax). eyeballed by deraadt@, ok krw@OPENBSD_4_3
@ -1,11 +1,9 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.1 2006/05/09 21:17:13 miod Exp $ | |||||
# $OpenBSD: ttys,v 1.2 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# name getty type status comments | # 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 | |||||
console "/usr/libexec/getty std.9600" vt220 on secure | |||||
# on-board serial ports (ttyb is the mouse port) | # on-board serial ports (ttyb is the mouse port) | ||||
ttya "/usr/libexec/getty Pc" unknown off secure # console | |||||
ttyc "/usr/libexec/getty Pc" unknown off | |||||
ttya "/usr/libexec/getty std.9600" unknown off secure # console | |||||
ttyc "/usr/libexec/getty std.9600" unknown off |
@ -1,7 +1,7 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.2 2006/12/15 18:59:50 miod Exp $ | |||||
# $OpenBSD: ttys,v 1.3 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# name getty type status comments | # name getty type status comments | ||||
# | # | ||||
console "/usr/libexec/getty Pc" vt220 on secure | |||||
console "/usr/libexec/getty std.9600" unknown on secure | |||||
ttya "/usr/libexec/getty std.9600" unknown off secure | ttya "/usr/libexec/getty std.9600" unknown off secure |
@ -1,10 +1,10 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.1 2004/04/21 18:23:44 miod Exp $ | |||||
# $OpenBSD: ttys,v 1.2 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# name getty type status comments | # 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 | |||||
console "/usr/libexec/getty std.9600" vt220 on secure | |||||
# graphics console | |||||
ttyC0 "/usr/libexec/getty std.9600" vt220 off secure | |||||
# siotty(4) serial console port | # siotty(4) serial console port | ||||
ttya "/usr/libexec/getty Pc" unknown off secure # console | |||||
ttya "/usr/libexec/getty std.9600" unknown off secure # console |
@ -1,20 +1,11 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.9 2006/03/09 20:49:01 miod Exp $ | |||||
# $OpenBSD: ttys,v 1.10 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# name getty type status comments | # name getty type status comments | ||||
# | # | ||||
# If the console is marked insecure, single-user requires | |||||
# the root password. | |||||
console "/usr/libexec/getty Pc" vt220 off secure | |||||
#console "/usr/libexec/getty std.9600" vt220 on secure | |||||
# Define the console that we actually run getty on. | |||||
# To enable the serial console, mark ttyC0 'off' and turn on the | |||||
# console entry configuring it as though it were one of the serial | |||||
# ports (e.g., setting the entry to 'std.9600'). | |||||
ttyC0 "/usr/libexec/getty Pc" vt220 on secure | |||||
# Hardwired lines are marked off, by default, so getty(8) | |||||
# is quiet when they don't exist. | |||||
console "/usr/libexec/getty std.9600" vt220 on secure | |||||
# graphics console | |||||
ttyC0 "/usr/libexec/getty std.9600" vt220 off secure | |||||
# serial lines | |||||
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 |
@ -1,16 +1,16 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.7 2002/05/30 06:46:13 deraadt Exp $ | |||||
# $OpenBSD: ttys,v 1.8 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# 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 | |||||
ttya "/usr/libexec/getty Pc" unknown off secure # 147/162 console | |||||
ttyb "/usr/libexec/getty Pc" unknown off | |||||
ttyc "/usr/libexec/getty Pc" unknown off | |||||
ttyd "/usr/libexec/getty Pc" unknown off | |||||
tty00 "/usr/libexec/getty Pc" unknown off secure # 167/17x console | |||||
tty01 "/usr/libexec/getty Pc" unknown off | |||||
tty02 "/usr/libexec/getty Pc" unknown off | |||||
tty03 "/usr/libexec/getty Pc" unknown off | |||||
console "/usr/libexec/getty std.9600" unknown on secure | |||||
ttya "/usr/libexec/getty std.9600" unknown off secure # 147/162 console | |||||
ttyb "/usr/libexec/getty std.9600" unknown off | |||||
ttyc "/usr/libexec/getty std.9600" unknown off | |||||
ttyd "/usr/libexec/getty std.9600" unknown off | |||||
tty00 "/usr/libexec/getty std.9600" unknown off secure # 167/17x console | |||||
tty01 "/usr/libexec/getty std.9600" unknown off | |||||
tty02 "/usr/libexec/getty std.9600" unknown off | |||||
tty03 "/usr/libexec/getty std.9600" unknown off |
@ -1,30 +1,30 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.8 2004/01/05 20:11:56 miod Exp $ | |||||
# $OpenBSD: ttys,v 1.9 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# 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 std.9600" unknown on secure | |||||
# MVME188 dart(4) serial ports | # MVME188 dart(4) serial ports | ||||
ttya "/usr/libexec/getty Pc" unknown off secure # console | |||||
ttyb "/usr/libexec/getty Pc" unknown off | |||||
ttya "/usr/libexec/getty std.9600" unknown off secure # console | |||||
ttyb "/usr/libexec/getty std.9600" unknown off | |||||
# MVME1x7 cl(4) serial ports | # MVME1x7 cl(4) serial ports | ||||
tty00 "/usr/libexec/getty Pc" unknown off secure # console | |||||
tty01 "/usr/libexec/getty Pc" unknown off | |||||
tty02 "/usr/libexec/getty Pc" unknown off | |||||
tty03 "/usr/libexec/getty Pc" unknown off | |||||
tty00 "/usr/libexec/getty std.9600" unknown off secure # console | |||||
tty01 "/usr/libexec/getty std.9600" unknown off | |||||
tty02 "/usr/libexec/getty std.9600" unknown off | |||||
tty03 "/usr/libexec/getty std.9600" unknown off | |||||
# M8120 remaining cl(4) serial ports | # M8120 remaining cl(4) serial ports | ||||
tty04 "/usr/libexec/getty Pc" unknown off | |||||
tty05 "/usr/libexec/getty Pc" unknown off | |||||
tty06 "/usr/libexec/getty Pc" unknown off | |||||
tty07 "/usr/libexec/getty Pc" unknown off | |||||
tty04 "/usr/libexec/getty std.9600" unknown off | |||||
tty05 "/usr/libexec/getty std.9600" unknown off | |||||
tty06 "/usr/libexec/getty std.9600" unknown off | |||||
tty07 "/usr/libexec/getty std.9600" unknown off | |||||
# MVME332 vx(4) serial ports | # MVME332 vx(4) serial ports | ||||
ttyv0 "/usr/libexec/getty Pc" unknown off | |||||
ttyv1 "/usr/libexec/getty Pc" unknown off | |||||
ttyv2 "/usr/libexec/getty Pc" unknown off | |||||
ttyv3 "/usr/libexec/getty Pc" unknown off | |||||
ttyv4 "/usr/libexec/getty Pc" unknown off | |||||
ttyv5 "/usr/libexec/getty Pc" unknown off | |||||
ttyv6 "/usr/libexec/getty Pc" unknown off | |||||
ttyv7 "/usr/libexec/getty Pc" unknown off | |||||
ttyv0 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv1 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv2 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv3 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv4 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv5 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv6 "/usr/libexec/getty std.9600" unknown off | |||||
ttyv7 "/usr/libexec/getty std.9600" unknown off |
@ -1,11 +1,11 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.2 2002/06/09 06:15:14 todd Exp $ | |||||
# $OpenBSD: ttys,v 1.3 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# name getty type status comments | # name getty type status comments | ||||
# | # | ||||
console "/usr/libexec/getty std.9600" unknown off secure | |||||
tty00 "/usr/libexec/getty std.9600" unknown on secure | |||||
console "/usr/libexec/getty std.9600" unknown on secure | |||||
tty00 "/usr/libexec/getty std.9600" unknown off secure | |||||
tty01 "/usr/libexec/getty std.9600" unknown off | tty01 "/usr/libexec/getty std.9600" unknown off | ||||
tty02 "/usr/libexec/getty std.9600" unknown off | tty02 "/usr/libexec/getty std.9600" unknown off | ||||
tty03 "/usr/libexec/getty std.9600" unknown off | tty03 "/usr/libexec/getty std.9600" unknown off | ||||
ttyC0 "/usr/libexec/getty std.9600" vt220 on secure | |||||
ttyC0 "/usr/libexec/getty std.9600" vt220 off secure |
@ -1,11 +1,11 @@ | |||||
# | # | ||||
# $OpenBSD: ttys,v 1.2 2007/12/14 16:16:28 jsing Exp $ | |||||
# $OpenBSD: ttys,v 1.3 2008/01/09 17:39:42 miod Exp $ | |||||
# | # | ||||
# name getty type status comments | # name getty type status comments | ||||
# | # | ||||
console "/usr/libexec/getty std.9600" unknown off secure | |||||
ttyC0 "/usr/libexec/getty Pc" vt220 on secure | |||||
tty00 "/usr/libexec/getty std.9600" unknown on secure | |||||
console "/usr/libexec/getty std.9600" vt220 on secure | |||||
ttyC0 "/usr/libexec/getty std.9600" vt220 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 | ||||
tty03 "/usr/libexec/getty std.9600" unknown off secure | tty03 "/usr/libexec/getty std.9600" unknown off secure |