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