Improve documentation.

* 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.
This commit is contained in:
Nicolas François 2013-08-13 00:21:02 +02:00
parent 9126425a21
commit 3bdf723bab
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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 /

View File

@ -32,8 +32,9 @@
<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>

View File

@ -32,8 +32,9 @@
<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>