shadow/man/login.defs.d/TTYGROUP.xml
Serge Hallyn f93cf255d4 Update licensing info
Closes #238

Update all files to list SPDX license shortname.  Most files are
BSD 3 clause license.

The exceptions are:

serge@sl ~/src/shadow$ git grep SPDX-License | grep -v BSD-3-Clause
contrib/atudel:# SPDX-License-Identifier: BSD-4-Clause
lib/tcbfuncs.c: * SPDX-License-Identifier: 0BSD
libmisc/salt.c: * SPDX-License-Identifier: Unlicense
src/login_nopam.c: * SPDX-License-Identifier: Unlicense
src/nologin.c: * SPDX-License-Identifier: BSD-2-Clause
src/vipw.c: * SPDX-License-Identifier: GPL-2.0-or-later

Signed-off-by: Serge Hallyn <serge@hallyn.com>
2021-12-23 19:36:50 -06:00

33 lines
1.2 KiB
XML

<!--
SPDX-FileCopyrightText: 1991 - 1993, Julianne Frances Haugh
SPDX-FileCopyrightText: 1991 - 1993, Chip Rosenthal
SPDX-FileCopyrightText: 2007 - 2008, Nicolas François
SPDX-License-Identifier: BSD-3-Clause
-->
<varlistentry>
<term><option>TTYGROUP</option> (string)</term>
<term><option>TTYPERM</option> (string)</term>
<listitem>
<para>
The terminal permissions: the login tty will be owned by the
<option>TTYGROUP</option> group, and the permissions will be set to
<option>TTYPERM</option>.
</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>
<option>TTYGROUP</option> can be either the name of a group or a
numeric group identifier.
</para>
<para>
If you have a <command>write</command> program which is "setgid" to
a special group which owns the terminals, define TTYGROUP to the
group number and TTYPERM to 0620. Otherwise leave TTYGROUP
commented out and assign TTYPERM to either 622 or 600.
</para>
</listitem>
</varlistentry>