]> granicus.if.org Git - shadow/commitdiff
Improve documentation.
authorNicolas François <nicolas.francois@centraliens.net>
Thu, 15 Aug 2013 15:21:44 +0000 (17:21 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Thu, 15 Aug 2013 15:30:20 +0000 (17:30 +0200)
* 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.

ChangeLog
man/login.defs.d/SUB_GID_COUNT.xml
man/login.defs.d/SUB_UID_COUNT.xml

index ecfa950c341213525d13594a681a1ea236280656..47fd3136f9ab6c56066dbc84fccdd14d55499803 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d8592e64c08c6342334a6cda9e5fcac0218d8fcb..01ace007a87221701218293443c1d3f36da19f76 100644 (file)
   <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>
index 8db1069016fcb5231c1398be05caaad30aa01502..5ad812f7f7665b0b07426debd0534a56a88db5f9 100644 (file)
   <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>