summaryrefslogtreecommitdiffstats
path: root/man/login.defs.d/SUB_GID_COUNT.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/login.defs.d/SUB_GID_COUNT.xml')
-rw-r--r--man/login.defs.d/SUB_GID_COUNT.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/login.defs.d/SUB_GID_COUNT.xml b/man/login.defs.d/SUB_GID_COUNT.xml
new file mode 100644
index 0000000..4eb5078
--- /dev/null
+++ b/man/login.defs.d/SUB_GID_COUNT.xml
@@ -0,0 +1,24 @@
+<!--
+ SPDX-FileCopyrightText: 2013, Eric W. Biederman
+ SPDX-License-Identifier: BSD-3-Clause
+-->
+<varlistentry condition="subids">
+ <term><option>SUB_GID_MIN</option> (number)</term>
+ <term><option>SUB_GID_MAX</option> (number)</term>
+ <term><option>SUB_GID_COUNT</option> (number)</term>
+ <listitem>
+ <para>
+ If <filename>/etc/subuid</filename> exists, the commands
+ <command>useradd</command> and <command>newusers</command> (unless
+ the user already have subordinate group IDs) allocate
+ <option>SUB_GID_COUNT</option> unused group IDs from the range
+ <option>SUB_GID_MIN</option> to <option>SUB_GID_MAX</option> for each
+ new user.
+ </para>
+ <para>
+ The default values for <option>SUB_GID_MIN</option>,
+ <option>SUB_GID_MAX</option>, <option>SUB_GID_COUNT</option>
+ are respectively 100000, 600100000 and 65536.
+ </para>
+ </listitem>
+</varlistentry>