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 <serge@hallyn.com>
This commit is contained in:
parent
1f6f1669cf
commit
1058872a0b
@ -13,15 +13,16 @@
|
|||||||
<option>TTYGROUP</option> group, and the permissions will be set to
|
<option>TTYGROUP</option> group, and the permissions will be set to
|
||||||
<option>TTYPERM</option>.
|
<option>TTYPERM</option>.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
|
||||||
By default, the ownership of the terminal is set to the user's
|
|
||||||
primary group and the permissions are set to
|
|
||||||
<replaceable>0600</replaceable>.
|
|
||||||
</para>
|
|
||||||
<para>
|
<para>
|
||||||
<option>TTYGROUP</option> can be either the name of a group or a
|
<option>TTYGROUP</option> can be either the name of a group or a
|
||||||
numeric group identifier.
|
numeric group identifier.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
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
|
||||||
|
<replaceable>0600</replaceable>.
|
||||||
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If you have a <command>write</command> program which is "setgid" to
|
If you have a <command>write</command> program which is "setgid" to
|
||||||
a special group which owns the terminals, define TTYGROUP to the
|
a special group which owns the terminals, define TTYGROUP to the
|
||||||
|
Loading…
Reference in New Issue
Block a user