git: 860b8fec5374 - main - ttys: Document insecure flag
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Oct 2023 16:15:49 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=860b8fec5374e3d88950ff4160cd04c53c9d571c
commit 860b8fec5374e3d88950ff4160cd04c53c9d571c
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-10-26 16:09:16 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-10-26 16:12:57 +0000
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
---
libexec/getty/ttys.5 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libexec/getty/ttys.5 b/libexec/getty/ttys.5
index f0173e0f4516..132b921084d8 100644
--- a/libexec/getty/ttys.5
+++ b/libexec/getty/ttys.5
@@ -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