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