xref: /freebsd/sbin/init/ttys (revision 397e83df75e0fcd0d3fcb95ae4d794cb7600fc89)
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, and
16#      unknown when the terminal type cannot be predetermined.
17#
18# status Must be on or off.  If on, init will run the getty program on
19#        the specified port.  If the word "secure" appears, this tty
20#        allows root login.
21#
22# name	getty				type	status		comments
23#
24# If console is marked "insecure", then 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