93642d9997
When we had utmp(5), we had to list all the psuedo-terminals in ttys(5) to make ttyslot(3) function properly. Now that pututxline(3) deals with slot allocation internally (not based on TTY names), we don't need to list all the TTYs on the system in ttys(5) to make user accounting work properly. This patch removes all the entries from the /etc/ttys files, but also the pts(4) entries that were appended implicitly, which was added in r154838.
51 lines
2.0 KiB
Plaintext
51 lines
2.0 KiB
Plaintext
#
|
|
# $FreeBSD$
|
|
# @(#)ttys 5.1 (Berkeley) 4/17/89
|
|
#
|
|
# This file specifies various information about terminals on the system.
|
|
# It is used by several different programs. Common entries for the
|
|
# various columns include:
|
|
#
|
|
# name The name of the terminal device.
|
|
#
|
|
# getty The program to start running on the terminal. Typically a
|
|
# getty program, as the name implies. Other common entries
|
|
# include none, when no getty is needed, and xdm, to start the
|
|
# X Window System.
|
|
#
|
|
# type The initial terminal type for this port. For hardwired
|
|
# terminal lines, this will contain the type of terminal used.
|
|
# For virtual consoles, the correct type is typically xterm.
|
|
# Other common values include network for network connections on
|
|
# pseudo-terminals, dialup for incoming modem ports, and unknown
|
|
# when the terminal type cannot be predetermined.
|
|
#
|
|
# status Must be on or off. If on, init will run the getty program on
|
|
# the specified port. If the word "secure" appears, this tty
|
|
# allows root login.
|
|
#
|
|
# name getty type status comments
|
|
#
|
|
# If console is marked "insecure", then init will ask for the root password
|
|
# when going to single-user mode.
|
|
console none unknown off secure
|
|
#
|
|
ttyv0 "/usr/libexec/getty Pc" xterm off secure
|
|
# Virtual terminals
|
|
ttyv1 "/usr/libexec/getty Pc" xterm off secure
|
|
ttyv2 "/usr/libexec/getty Pc" xterm off secure
|
|
ttyv3 "/usr/libexec/getty Pc" xterm off secure
|
|
ttyv4 "/usr/libexec/getty Pc" xterm off secure
|
|
ttyv5 "/usr/libexec/getty Pc" xterm off secure
|
|
ttyv6 "/usr/libexec/getty Pc" xterm off secure
|
|
ttyv7 "/usr/libexec/getty Pc" xterm off secure
|
|
#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
|
|
# Serial terminals
|
|
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
|
|
ttyu0 "/usr/libexec/getty std.9600" vt100 on secure
|
|
ttyu1 "/usr/libexec/getty std.9600" dialup off secure
|
|
ttyu2 "/usr/libexec/getty std.9600" dialup off secure
|
|
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
|
|
# Dumb console
|
|
dcons "/usr/libexec/getty std.9600" vt100 off secure
|