r4759 - in trunk/BOOK: . introduction/welcome postlfs/config

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Jul 22 09:04:50 PDT 2005


Author: randy
Date: 2005-07-22 10:04:49 -0600 (Fri, 22 Jul 2005)
New Revision: 4759

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/config/skel.xml
Log:
Added textual updates to the 'Adding Users' section

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-07-22 00:43:42 UTC (rev 4758)
+++ trunk/BOOK/general.ent	2005-07-22 16:04:49 UTC (rev 4759)
@@ -1,8 +1,8 @@
-<!ENTITY day          "21">
+<!ENTITY day          "22">
 <!ENTITY month        "07">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "July &day;st, &year;">
+<!ENTITY releasedate  "July &day;nd, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "stable">          <!-- version|stable|testing|unstable|development] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-07-22 00:43:42 UTC (rev 4758)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-07-22 16:04:49 UTC (rev 4759)
@@ -25,6 +25,11 @@
   <itemizedlist>
     
     <listitem>
+      <para>July 22nd 2005 [randy]: Added textual updates to the "After LFS
+      Configuration" chapter.</para>
+    </listitem>
+
+    <listitem>
       <para>July 21st 2005 [randy]: Added additional text to the "Conventions"
       and "Unpacking" sections; numerous typo, grammar and tagging fixes to the
       "Introduction" chapter.</para>

Modified: trunk/BOOK/postlfs/config/skel.xml
===================================================================
--- trunk/BOOK/postlfs/config/skel.xml	2005-07-22 00:43:42 UTC (rev 4758)
+++ trunk/BOOK/postlfs/config/skel.xml	2005-07-22 16:04:49 UTC (rev 4759)
@@ -25,10 +25,11 @@
 
   <para>Together, the <command>/usr/sbin/useradd</command> command and
   <filename class="directory">/etc/skel</filename> directory (both are easy to
-  setup and use) provide a way to assure new users are added on your LFS
-  system with the same beginning settings for things like <envar>PATH</envar>,
-  keyboard processing and environmental variables. Using these two facilities
-  makes it easier to assure this initial state for each new user.</para>
+  set up and use) provide a way to assure new users are added to your LFS
+  system with the same beginning settings for things such as the
+  <envar>PATH</envar>, keyboard processing and other environmental variables.
+  Using these two facilities makes it easier to assure this initial state for
+  each new user added to the system.</para>
 
   <para>The <filename class="directory">/etc/skel</filename> directory holds
   copies of various initialization and other files that may be copied to the
@@ -39,13 +40,15 @@
 
   <para>The <command>useradd</command> program uses a collection of
   default values kept in <filename>/etc/default/useradd</filename>,
-  if it exists.  If the file does not exist, then it uses some internal
+  if it exists.  If this file does not exist, then it uses some internal
   defaults.  You can see the default values by running
   <command>/usr/sbin/useradd -D</command>.</para>
 
-  <para>To change these values to something new, create a base <filename>
-  /etc/default/useradd</filename> file with the same values as the output of
-  <command>/usr/sbin/useradd -D</command>.  Here is a sample.</para>
+  <para>To change these values to something new, create a base
+  <filename>/etc/default/useradd</filename> file as the
+  <systemitem class='username'>root</systemitem> user with the same values as
+  the output of <command>/usr/sbin/useradd -D</command>. Here is a
+  sample:</para>
 
 <screen><literal># Begin /etc/default/useradd
 
@@ -59,26 +62,25 @@
 # End /etc/default/useradd</literal></screen>
 
   <para>The only thing missing from the file is a default shell.  Add that
-  by running:</para>
+  by running the following command as the
+  <systemitem class='username'>root</systemitem> user:</para>
 
 <screen role="root"><userinput>/usr/sbin/useradd -D -s/bin/bash</userinput></screen>
 
   <para>This will set the <envar>SHELL</envar>= line to
   <envar>SHELL</envar>=/bin/bash.</para>
 
-  <para><command>Useradd</command> has many parameters that
-  can be set in the <filename>/etc/default/useradd</filename> file.</para>
+  <para><command>useradd</command> has many parameters that
+  can be set in the <filename>/etc/default/useradd</filename> file. For more
+  information see <command>man useradd</command>.</para>
 
-  <para>For more information see <command>man useradd</command>.</para>
-
   <bridgehead renderas="sect5">/etc/skel</bridgehead>
 
-  <para>To get started, create an <filename
-  class="directory">/etc/skel</filename> directory and make sure it is
-  writable only by the system administrator, usually <systemitem
-  class="username">root</systemitem>. Creating the
-  directory as <systemitem class="username">root</systemitem> is
-  the best way to go.</para>
+  <para>To get started, create an
+  <filename class="directory">/etc/skel</filename> directory and make sure it
+  is writable only by the system administrator, usually
+  <systemitem class="username">root</systemitem>. Creating the directory as
+  <systemitem class="username">root</systemitem> is the best way to go.</para>
 
   <para>The mode of any files from this part of the book that you put in
   <filename class="directory">/etc/skel</filename> should be writable only by
@@ -110,8 +112,8 @@
   are placed in <filename class="directory">/etc/skel</filename>. Each section
   will remind you of this. In brief, the book's commands have been written for
   files <emphasis>not</emphasis> added to
-  <filename class="directory">/etc/skel</filename> and just send the results to
-  the user's home directory. If the file is going to be in
+  <filename class="directory">/etc/skel</filename> and instead just sends the
+  results to the user's home directory. If the file is going to be in
   <filename class="directory">/etc/skel</filename>, change the book's command(s)
   to send output there instead and then just copy the file from
   <filename class="directory">/etc/skel</filename> to the appropriate
@@ -125,7 +127,8 @@
   the <option>-m</option> parameter, which tells
   <command>useradd</command> to create the user's home directory and
   copy files from <filename class="directory">/etc/skel</filename> (can be
-  overridden) to the new user's home directory.  For example:</para>
+  overridden) to the new user's home directory.  For example (perform as the
+  <systemitem class="username">root</systemitem> user):</para>
 
 <screen role="root"><userinput>useradd -m <replaceable>[newuser]</replaceable></userinput></screen>
 




More information about the blfs-book mailing list