]> granicus.if.org Git - shadow/commitdiff
* man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 21 May 2009 12:02:12 +0000 (12:02 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 21 May 2009 12:02:12 +0000 (12:02 +0000)
Harmonize formatting of login.defs and default/useradd variables.
Use an <option> tag.
* man/usermod.8.xml: Added reference to gshadow(5).
* man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
USERDEL_CMD example.

ChangeLog
man/groupadd.8.xml
man/login.defs.d/USERDEL_CMD.xml
man/useradd.8.xml
man/userdel.8.xml
man/usermod.8.xml

index 30096a530ed12ccb32cbb43fce8e8f2e2a88d966..49c9360d37d9530f0d41a89b74aeab273bfe1a31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
+       Harmonize formatting of login.defs and default/useradd variables.
+       Use an <option> tag.
+       * man/usermod.8.xml: Added reference to gshadow(5).
+       * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
+       USERDEL_CMD example.
+
 2009-05-21  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/su.c: Use a boolean instead of 0.
index d84ce967a84860c88726e495d523ba00ec2d734c..59da57a2cd3d76efbd985940a3dede3e9dadb2e8 100644 (file)
          </para>
          <para>
             Example: <option>-K </option><replaceable>GID_MIN</replaceable>=<replaceable>100</replaceable>
-           <option> -K </option><replaceable>GID_MAX</replaceable>=<replaceable>499</replaceable>
+           <option>-K </option><replaceable>GID_MAX</replaceable>=<replaceable>499</replaceable>
          </para>
          <para>
            Note: <option>-K </option>
index 6529b51ff1624e528913ca5afc8bcbcb76994bfd..40800b25edb4abf1f8ec85e12459cb0e357382cc 100644 (file)
@@ -58,7 +58,8 @@ crontab -r -u $1
 # Remove at jobs.
 # Note that it will remove any jobs owned by the same UID,
 # even if it was shared by a different username.
-find /var/spool/cron/atjobs -name "[^.]*" -type f -user $1 -exec rm {} \;
+AT_SPOOL_DIR=/var/spool/cron/atjobs
+find $AT_SPOOL_DIR -name "[^.]*" -type f -user $1 -delete \;
 
 # Remove print jobs.
 lprm $1
index e0196b39fdc91e7ed0c85c51698797738ce133de..63251a4e5d9bc1d7f42a8d86c838855da099ca93 100644 (file)
          <para>
            If not specified, <command>useradd</command> will use the
            default inactivity period specified by the
-           <option>INACTIVE</option> variable in the
+           <option>INACTIVE</option> variable in
            <filename>/etc/default/useradd</filename>, or -1 by default.
          </para>
        </listitem>
        </term>
        <listitem>
          <para>
-           Overrides <filename>/etc/login.defs</filename> defaults (UID_MIN, UID_MAX, UMASK,
-           PASS_MAX_DAYS and others).
+           Overrides <filename>/etc/login.defs</filename> defaults
+           (<option>UID_MIN</option>, <option>UID_MAX</option>,
+           <option>UMASK</option>, <option>PASS_MAX_DAYS</option>
+           and others).
          <para>
          </para>
            Example: <option>-K </option><replaceable>PASS_MAX_DAYS</replaceable>=<replaceable>-1</replaceable>
          <para>
            Do not create a group with the same name as the user, but
            add the user to the group specified by the <option>-g</option>
-           option or by the GROUP variable in
+           option or by the <option>GROUP</option> variable in
            <filename>/etc/default/useradd</filename>.
          </para>
          <para>
index a70a318fb68cc7e216b0e1284bdde3f584f4c290..0fdd919ed12f03dba8f62b9c60e7c2784aef205e 100644 (file)
@@ -83,7 +83,7 @@
            the user's home directory and mail spool, even if another
            user uses the same home directory or if the mail spool is not
            owned by the specified user.  If
-           <emphasis>USERGROUPS_ENAB</emphasis> is defined to <emphasis
+           <option>USERGROUPS_ENAB</option> is defined to <emphasis
            remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>
            and if a group exists with the same name as the deleted user,
            then this group will be removed, even if it is still the primary
            deleted manually.
          </para>
          <para>
-           The mail spool is defined by the <emphasis>MAIL_DIR</emphasis>
+           The mail spool is defined by the <option>MAIL_DIR</option>
            variable in the <filename>login.defs</filename> file.
          </para>
        </listitem>
     <para>You may not remove any NIS attributes on a NIS client. This must
       be performed on the NIS server.
     </para>
-    <para>If <emphasis>USERGROUPS_ENAB</emphasis> is defined to <emphasis
+    <para>If <option>USERGROUPS_ENAB</option> is defined to <emphasis
       remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>,
       <command>userdel</command> will delete the group with the same name
       as the user. To avoid inconsistencies in the passwd and group
index a040dddbf075e94670d19e49efad0f1c59ac6f87..a2ca332d306fa91f60a0f7815259ea639ee386ed 100644 (file)
            password), you should also set the
            <replaceable>EXPIRE_DATE</replaceable> (for example to
            <replaceable>99999</replaceable>, or to the
-           <replaceable>EXPIRE</replaceable> value from
+           <option>EXPIRE</option> value from
            <filename>/etc/default/useradd</filename>).
          </para>
        </listitem>
          <para>Group account information.</para>
        </listitem>
       </varlistentry>
+      <varlistentry condition="gshadow">
+       <term><filename>/etc/gshadow</filename></term>
+       <listitem>
+         <para>Secure group account information.</para>
+       </listitem>
+      </varlistentry>
       <varlistentry>
        <term><filename>/etc/passwd</filename></term>
        <listitem>