Improve documentation.
* man/login.defs.d/SUB_GID_COUNT.xml: Document newusers behavior when the user already have subordinate group IDs. * man/login.defs.d/SUB_UID_COUNT.xml: Likewise. * man/login.defs.d/SUB_GID_COUNT.xml: Fix typo (MAX<->MIN). * man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
This commit is contained in:
parent
6f8dd000f6
commit
eceedf43cf
@ -1,3 +1,11 @@
|
||||
2013-08-15 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* man/login.defs.d/SUB_GID_COUNT.xml: Document newusers behavior
|
||||
when the user already have subordinate group IDs.
|
||||
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
|
||||
* man/login.defs.d/SUB_GID_COUNT.xml: Fix typo (MAX<->MIN).
|
||||
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
|
||||
|
||||
2013-08-15 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/usermod.c: Check early if /etc/subuid (/etc/subgid) exists
|
||||
|
@ -33,14 +33,15 @@
|
||||
<listitem>
|
||||
<para>
|
||||
If <filename>/etc/subuid</filename> exists, the commands
|
||||
<command>useradd</command> and <command>newusers</command> allocate
|
||||
<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_MAX</option>,
|
||||
<option>SUB_GID_MIN</option>, <option>SUB_GID_COUNT</option>
|
||||
The default values for <option>SUB_GID_MIN</option>,
|
||||
<option>SUB_GID_MAX</option>, <option>SUB_GID_COUNT</option>
|
||||
are respectively 100000, 600100000 and 10000.
|
||||
</para>
|
||||
</listitem>
|
||||
|
@ -33,14 +33,15 @@
|
||||
<listitem>
|
||||
<para>
|
||||
If <filename>/etc/subuid</filename> exists, the commands
|
||||
<command>useradd</command> and <command>newusers</command> allocate
|
||||
<command>useradd</command> and <command>newusers</command> (unless
|
||||
the user already have subordinate user IDs) 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>
|
||||
<para>
|
||||
The default values for <option>SUB_UID_MAX</option>,
|
||||
<option>SUB_UID_MIN</option>, <option>SUB_UID_COUNT</option>
|
||||
The default values for <option>SUB_UID_MIN</option>,
|
||||
<option>SUB_UID_MAX</option>, <option>SUB_UID_COUNT</option>
|
||||
are respectively 100000, 600100000 and 10000.
|
||||
</para>
|
||||
</listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user