xref: /freebsd/sbin/init/ttys (revision 4722ceb7d53e76507c76e053caab6b6f7b24ecef)
1c76616f4SElliott Mitchell#
2c76616f4SElliott Mitchell#	@(#)ttys	5.1 (Berkeley) 4/17/89
3c76616f4SElliott Mitchell#
4c76616f4SElliott Mitchell# This file specifies various information about terminals on the system.
5c76616f4SElliott Mitchell# It is used by several different programs.  Common entries for the
6c76616f4SElliott Mitchell# various columns include:
7c76616f4SElliott Mitchell#
8c76616f4SElliott Mitchell# name  The name of the terminal device.
9c76616f4SElliott Mitchell#
10c76616f4SElliott Mitchell# getty The program to start running on the terminal.  Typically a
11c76616f4SElliott Mitchell#       getty program, as the name implies.  Other common entries
12c76616f4SElliott Mitchell#       include none, when no getty is needed, and xdm, to start the
13c76616f4SElliott Mitchell#       X Window System.
14c76616f4SElliott Mitchell#
15c76616f4SElliott Mitchell# type The initial terminal type for this port.  For hardwired
16c76616f4SElliott Mitchell#      terminal lines, this will contain the type of terminal used.
17c76616f4SElliott Mitchell#      For virtual consoles, the correct type is typically xterm.
18c76616f4SElliott Mitchell#      Other common values include dialup for incoming modem ports, and
19c76616f4SElliott Mitchell#      unknown when the terminal type cannot be predetermined.
20c76616f4SElliott Mitchell#
21c76616f4SElliott Mitchell# status Must be on or off.  If on, init will run the getty program on
22c76616f4SElliott Mitchell#        the specified port.  If the word "secure" appears, this tty
23c76616f4SElliott Mitchell#        allows root login.
24c76616f4SElliott Mitchell#
25c76616f4SElliott Mitchell# name	getty				type	status		comments
26c76616f4SElliott Mitchell#
27c76616f4SElliott Mitchell# If console is marked "insecure", then init will ask for the root password
28c76616f4SElliott Mitchell# when going to single-user mode.
29c76616f4SElliott Mitchellconsole	none				unknown	off secure
30c76616f4SElliott Mitchell#
31c76616f4SElliott Mitchellttyv0	"/usr/libexec/getty Pc"		xterm	onifexists secure
32c76616f4SElliott Mitchell# Virtual terminals
33c76616f4SElliott Mitchellttyv1	"/usr/libexec/getty Pc"		xterm	onifexists secure
34c76616f4SElliott Mitchellttyv2	"/usr/libexec/getty Pc"		xterm	onifexists secure
35c76616f4SElliott Mitchellttyv3	"/usr/libexec/getty Pc"		xterm	onifexists secure
36c76616f4SElliott Mitchellttyv4	"/usr/libexec/getty Pc"		xterm	onifexists secure
37c76616f4SElliott Mitchellttyv5	"/usr/libexec/getty Pc"		xterm	onifexists secure
38c76616f4SElliott Mitchellttyv6	"/usr/libexec/getty Pc"		xterm	onifexists secure
39c76616f4SElliott Mitchellttyv7	"/usr/libexec/getty Pc"		xterm	onifexists secure
40c76616f4SElliott Mitchellttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
41c76616f4SElliott Mitchell# Serial terminals
42c76616f4SElliott Mitchell# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
43c76616f4SElliott Mitchellttyu0	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
44c76616f4SElliott Mitchellttyu1	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
45c76616f4SElliott Mitchellttyu2	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
46c76616f4SElliott Mitchellttyu3	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
47c76616f4SElliott Mitchell# Dumb console
48*4722ceb7SEd Mastedcons	"/usr/libexec/getty std.115200"	vt100	off secure
492b2c460dSJulien Grall# Xen Virtual console
502b2c460dSJulien Grallxc0	"/usr/libexec/getty Pc"		xterm	onifconsole secure
51c76616f4SElliott Mitchell# RISC-V HTIF console
52*4722ceb7SEd Mastercons	"/usr/libexec/getty std.115200"	vt100	onifconsole secure
53