[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.1.0-1149-g000a8f8

git git at cross-lfs.org
Thu May 29 01:23:48 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, master has been updated
       via  000a8f82dc0f6b62c442ce4b8b37e789239bd623 (commit)
      from  7cb9b1dafe0a38dc70176881d49b15400876d6b4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 000a8f82dc0f6b62c442ce4b8b37e789239bd623
Author: Chris Staub <chris at beaker67.com>
Date:   Thu May 29 04:23:46 2014 -0400

    Added more information to clfs user page

diff --git a/BOOK/final-preps/common/addinguser.xml b/BOOK/final-preps/common/addinguser.xml
index f4c499a..55c1f40 100644
--- a/BOOK/final-preps/common/addinguser.xml
+++ b/BOOK/final-preps/common/addinguser.xml
@@ -45,8 +45,21 @@ chown -v clfs:clfs /home/clfs</userinput></screen>
     <varlistentry>
       <term><parameter>-g clfs</parameter></term>
       <listitem>
-        <para>This option adds user <systemitem class="username">clfs</systemitem>
-        to group <systemitem class="groupname">clfs</systemitem>.</para>
+        <para>This option adds the new user to the
+        <systemitem class="groupname">clfs</systemitem> group.</para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term><parameter>-d /home/clfs</parameter></term>
+      <listitem>
+        <para>This option sets the user's home directory, but does not create
+        it. We could have used <option>-m</option> to tell
+        <command>useradd</command> to create the directory as well, but this
+        would also copy whatever is in the host system's
+        <filename class="directory">/etc/skel</filename> directory into the new
+        user's home. We would prefer to have a clean user environment, so we
+        just create an empty directory after adding the user.</para>
       </listitem>
     </varlistentry>
 

-----------------------------------------------------------------------

Summary of changes:
 BOOK/final-preps/common/addinguser.xml |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list