term% cat index.txt TTYS(5) File Formats Manual TTYS(5)
NAME
ttys - terminal initialization data
DESCRIPTION
The ttys file is read by the init program and specifies which terminal
special files are to have a process created for them which will allow
people to log in. It contains one line per special file.
The first character of a line is either ‘0' or ‘1'; the former causes
the line to be ignored, the latter causes it to be effective. The sec‐
ond character is used as an argument to getty(8), which performs such
tasks as baud-rate recognition, reading the login name, and calling lo‐
gin(8). For normal lines, the character is ‘0'; other characters can
be used, for example, with hard-wired terminals where speed recognition
is unnecessary or which have special characteristics. (Getty will have
to be fixed in such cases.) The remainder of the line is the termi‐
nal's entry in the device directory, /dev.
FILES
/etc/ttys
SEE ALSO
init(8), getty(8), login(8)
TTYS(5)