ttys(4) — File Formats
Digital
NAME
ttys − terminal initialization data
DESCRIPTION
The /etc/ttys file identifies which terminal and pseudoterminal lines are secure (that is, allow root logins). To allow root logins on a given line, add the "secure" keyword to the status field. To disallow root logins, remove the "secure" keyword. By default, only the console terminal line is marked secure.
This file is created when the system is installed and can be updated at any time.
The format of each line is as follows: name none type { secure }
FLAGS
nameIs the name of the special file for the terminal in the /dev directory. Some examples are as follows:
console
ttyd0
ttyd1
noneIs a nonoperative placeholder.
typeIs one of the following:
none for terminal lines
network for pseudoterminal lines
secureAllows the root user to log in on this terminal line.
EXAMPLES
The following example permits the root user to log in on the console and on the terminal line tty00:
console none none secure
tty00 none none secure
These two examples show network pseudoterminals:
ttyp0 none network secure
ttyp1 none network
FILES
/etc/ttysThe full pathname for the file
RELATED INFORMATION
login(1), getty(8), init(8), inittab(4)
Guide to System Administration