]> granicus.if.org Git - shadow/commitdiff
Improve documentation.
authorNicolas François <nicolas.francois@centraliens.net>
Mon, 12 Aug 2013 22:21:02 +0000 (00:21 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Mon, 12 Aug 2013 22:21:02 +0000 (00:21 +0200)
* 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.

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

index db1872fa7b4d9c44a1a40e20224574741fccec26..c670c50e56d216647e4b88005dfc51b82479836c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 /
index e3ef8064c433c39c2c03305eef26172885b5e5b9..d8592e64c08c6342334a6cda9e5fcac0218d8fcb 100644 (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>
index 5afd34733805bd4fcbb45e4b5430011b963545c4..8db1069016fcb5231c1398be05caaad30aa01502 100644 (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>