+2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/login.defs.d/SUB_GID_COUNT.xml: Document that the behavior
+ of useradd and newusers depends on the existence of /etc/subgid.
+ * man/login.defs.d/SUB_UID_COUNT.xml: Likewise for /etc/subuid.
+
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c: Change message in case of find_new_sub_uids /
<term><option>SUB_GID_COUNT</option> (number)</term>
<listitem>
<para>
- The commands <command>useradd</command> and <command>newusers</command>
- allocate <option>SUB_GID_COUNT</option> unused group IDs from the range
+ If <filename>/etc/subuid</filename> exists, the commands
+ <command>useradd</command> and <command>newusers</command> 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>
<term><option>SUB_UID_COUNT</option> (number)</term>
<listitem>
<para>
- The commands <command>useradd</command> and <command>newusers</command>
- allocate <option>SUB_UID_COUNT</option> unused user IDs from the range
+ If <filename>/etc/subuid</filename> exists, the commands
+ <command>useradd</command> and <command>newusers</command> allocate
+ <option>SUB_UID_COUNT</option> unused user IDs from the range
<option>SUB_UID_MIN</option> to <option>SUB_UID_MAX</option> for each
new user.
</para>