[Pkg-shadow-commits] r1992 - in upstream/trunk: . man
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon May 19 21:32:20 UTC 2008
Author: nekral-guest
Date: 2008-05-19 21:32:19 +0000 (Mon, 19 May 2008)
New Revision: 1992
Modified:
upstream/trunk/ChangeLog
upstream/trunk/NEWS
upstream/trunk/man/useradd.8.xml
Log:
Document the -k, --skel option, and update the -m, --create-home documentation.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-05-19 21:04:34 UTC (rev 1991)
+++ upstream/trunk/ChangeLog 2008-05-19 21:32:19 UTC (rev 1992)
@@ -1,5 +1,10 @@
2008-05-19 Nicolas François <nicolas.francois at 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 at centraliens.net>
+
* man/useradd.8.xml: Sort options.
2008-05-19 Nicolas François <nicolas.francois at centraliens.net>
Modified: upstream/trunk/NEWS
===================================================================
--- upstream/trunk/NEWS 2008-05-19 21:04:34 UTC (rev 1991)
+++ upstream/trunk/NEWS 2008-05-19 21:32:19 UTC (rev 1992)
@@ -27,6 +27,7 @@
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
Modified: upstream/trunk/man/useradd.8.xml
===================================================================
--- upstream/trunk/man/useradd.8.xml 2008-05-19 21:04:34 UTC (rev 1991)
+++ upstream/trunk/man/useradd.8.xml 2008-05-19 21:32:19 UTC (rev 1992)
@@ -183,22 +183,24 @@
</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>
<varlistentry>
@@ -243,6 +245,22 @@
</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>
</term>
<listitem>
More information about the Pkg-shadow-commits
mailing list