]> granicus.if.org Git - shadow/commitdiff
Document the -k, --skel option, and update the -m, --create-home documentation.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 May 2008 21:32:19 +0000 (21:32 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 May 2008 21:32:19 +0000 (21:32 +0000)
ChangeLog
NEWS
man/useradd.8.xml

index 25f6d9d501df5f200d014dd54661e92049ae116d..487ab7478fa0334291dad4a9bfdaa7df4eee550e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * NEWS, man/useradd.8.xml: Document the -k, --skel option, and
+       update the -m, --create-home documentation.
+
 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
 
        * man/useradd.8.xml: Sort options.
diff --git a/NEWS b/NEWS
index db1ee125719648d69a193742ff12c0362d517dd0..15c3e03af904c9b91b83f06d83a89082ea581095 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,7 @@ shadow-4.1.1 -> shadow-4.1.2                                          UNRELEASED
   manpages.
 - Document the -c, --crypt-method and -s, --sha-rounds options in the
   newusers manpage.
+- Document the -k, --skel option in the useradd manpage.
 
 shadow-4.1.0 -> shadow-4.1.1                                           02-04-2008
 
index b10b19e31926e6ac574c9ea0431dd4ff5482bf1d..2da9c304fa91720b98ff8f3eeccab9dc749a92c3 100644 (file)
       </varlistentry>
       <varlistentry>
        <term>
-         <option>-m</option>, <option>--create-home</option>
+         <option>-k</option>, <option>--skel</option>
+         <replaceable>SKEL_DIR</replaceable>
        </term>
        <listitem>
          <para>
-           The user's home directory will be created if it does not exist. 
-           The files contained in <replaceable>SKEL_DIR</replaceable> will
-           be copied to the home directory if the <option>-k</option>
-           option is used, otherwise the files contained in
-           <filename>/etc/skel</filename> will be used instead. Any
-           directories contained in <replaceable>SKEL_DIR</replaceable> or
-           <filename>/etc/skel</filename> will be created in the user's
-           home directory as well. The <option>-k</option> option is only
-           valid in conjunction with the <option>-m</option> option. The
-           default is to not create the directory and to not copy any
-           files.
+           The skeleton directory, which contains files and directories
+           to be copied in the user's home directory, when the home
+           directory is created by <command>useradd</command>.
+         </para>
+         <para>
+           This option is only valid if the <option>-m</option> (or
+           <option>--create-home</option>) option is specified.
+         </para>
+         <para>
+           If this option is not set, the skeleton directory is defined
+           in <filename>/etc/default/useradd</filename> or, by default,
+           <filename>/etc/skel</filename>.
          </para>
        </listitem>
       </varlistentry>
          </para>
        </listitem>
       </varlistentry>
+      <varlistentry>
+       <term>
+         <option>-m</option>, <option>--create-home</option>
+       </term>
+       <listitem>
+         <para>
+           Create the user's home directory if it does not exist. 
+           The files and directories contained in the skeleton directory
+           (which can be defined with the <option>-k</option> option)
+           will be copied to the home directory.
+         </para>
+         <para>
+           By default, no home directories are created.
+         </para>
+       </listitem>
+      </varlistentry>
       <varlistentry>
        <term>
          <option>-N</option>, <option>--no-user-group</option>