[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-2.1.0-1138-gfa9b711

git git at cross-lfs.org
Thu May 29 01:24:14 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, sysvinit has been updated
       via  fa9b71188758b8c5c75cf229d004d5bd8a88d849 (commit)
      from  150ed3737d161236db768e7d97471af9b440b7e7 (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 fa9b71188758b8c5c75cf229d004d5bd8a88d849
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