ttys: Document insecure flag

Both the secure and insecure flag is documented in init(8). the secure
flag is documented here; however, the insecure flag is not. Nor is the
nuance that a line missing the 'secure' flag is also considered
insecure. Document both here.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-10-26 10:09:16 -06:00
parent 5e50df6dc0
commit 860b8fec53

View file

@ -111,8 +111,9 @@ path.
Otherwise, it is considered a path relative to
.Pa /dev .
The flag ``secure'' (if the console is enabled) allows users with a
uid of 0 to login on
this line.
uid of 0 to login on this line.
The flag ``insecure'' as well as the absence of the ``secure'' flag
disallows users with uid of 0 to login on this line.
The flag ``dialup'' indicates that a tty entry describes a dialin
line, and ``network'' is obsolete and does nothing.
Either of these strings may also be specified in the terminal type