]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/init/ttys
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a
[FreeBSD/FreeBSD.git] / sbin / init / ttys
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.
26 console none                            unknown off secure
27 #
28 ttyv0   "/usr/libexec/getty Pc"         xterm   onifexists secure
29 # Virtual terminals
30 ttyv1   "/usr/libexec/getty Pc"         xterm   onifexists secure
31 ttyv2   "/usr/libexec/getty Pc"         xterm   onifexists secure
32 ttyv3   "/usr/libexec/getty Pc"         xterm   onifexists secure
33 ttyv4   "/usr/libexec/getty Pc"         xterm   onifexists secure
34 ttyv5   "/usr/libexec/getty Pc"         xterm   onifexists secure
35 ttyv6   "/usr/libexec/getty Pc"         xterm   onifexists secure
36 ttyv7   "/usr/libexec/getty Pc"         xterm   onifexists secure
37 ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
38 # Serial terminals
39 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
40 ttyu0   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
41 ttyu1   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
42 ttyu2   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
43 ttyu3   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
44 # Dumb console
45 dcons   "/usr/libexec/getty std.115200" vt100   off secure
46 # Xen Virtual console
47 xc0     "/usr/libexec/getty Pc"         xterm   onifconsole secure
48 # RISC-V HTIF console
49 rcons   "/usr/libexec/getty std.115200" vt100   onifconsole secure