From 1058872a0b630e543e7e4d4d4340104e1f3e7edc Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Thu, 2 Feb 2023 12:27:23 -0600 Subject: [PATCH] Improve TTYGROUP description in login.defs manpage Closes #457 The existing prose was confusing, or simply wrong. Make it clear that only the group ownership of the tty is affected, and how. Also move the paragraph about defaults after the discussion of acceptable TTYGROUPs, as this seems more natural. Signed-off-by: Serge Hallyn --- man/login.defs.d/TTYGROUP.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/man/login.defs.d/TTYGROUP.xml b/man/login.defs.d/TTYGROUP.xml index e7cb53d0..8e0a9e87 100644 --- a/man/login.defs.d/TTYGROUP.xml +++ b/man/login.defs.d/TTYGROUP.xml @@ -13,15 +13,16 @@ group, and the permissions will be set to . - - By default, the ownership of the terminal is set to the user's - primary group and the permissions are set to - 0600. - can be either the name of a group or a numeric group identifier. + + If TTYGROUP is not defined, then the group ownership of the terminal is + set to the user's primary group. If TTYPERM is not defined, then the + permissions are set to + 0600. + If you have a write program which is "setgid" to a special group which owns the terminals, define TTYGROUP to the