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