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