xref: /src/sbin/init/ttys (revision 6d15e0efa0b3a85cf69f3c72d3f24f4f97850a03)
1# This file specifies various information about terminals on the system.
2# It is used by several different programs.  Common entries for the
3# various columns include:
4#
5# name   The name of the terminal device.
6#
7# getty  The program to start running on the terminal.  Typically a
8#        getty program, as the name implies.  Other common entries
9#        include none, when no getty is needed, and xdm, to start the
10#        X Window System.
11#
12# type   The initial terminal type for this port.  For hardwired
13#        terminal lines, this will contain the type of terminal used.
14#        For virtual consoles, the correct type is typically xterm.
15#        Other common values include dialup for incoming modem ports,
16#        and unknown when the terminal type cannot be predetermined.
17#
18# status Must be on, onifconsole, onifexists, or off.  If on, init
19#        will run the getty program on the specified port.  If the
20#        word "secure" appears, this tty allows root login.
21#
22# name	getty				type	status		comments
23#
24# If console is marked "insecure", init will ask for the root password
25# when going to single-user mode.
26console	none				unknown	off secure
27#
28ttyv0	"/usr/libexec/getty Pc"		xterm	onifexists secure
29# Virtual terminals
30ttyv1	"/usr/libexec/getty Pc"		xterm	onifexists secure
31ttyv2	"/usr/libexec/getty Pc"		xterm	onifexists secure
32ttyv3	"/usr/libexec/getty Pc"		xterm	onifexists secure
33ttyv4	"/usr/libexec/getty Pc"		xterm	onifexists secure
34ttyv5	"/usr/libexec/getty Pc"		xterm	onifexists secure
35ttyv6	"/usr/libexec/getty Pc"		xterm	onifexists secure
36ttyv7	"/usr/libexec/getty Pc"		xterm	onifexists secure
37ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
38# Serial terminals
39# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
40ttyu0	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
41ttyu1	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
42ttyu2	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
43ttyu3	"/usr/libexec/getty 3wire"	vt100	onifconsole secure
44# Dumb console
45dcons	"/usr/libexec/getty std.115200"	vt100	off secure
46# Xen Virtual console
47xc0	"/usr/libexec/getty Pc"		xterm	onifconsole secure
48# RISC-V HTIF console
49rcons	"/usr/libexec/getty std.115200"	vt100	onifconsole secure
50