aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2004-01-26 02:03:22 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2004-01-26 02:03:22 +0000
commit9684126049d4955992839ca459167873c40dc608 (patch)
treea610beecede74afad974d3f43cd8d5345b7aeed6
parent5c8d96581438b6d5b7ebd911e93daf2bbf7fab60 (diff)
Chapter 5 - Adding the user lfs: Added "-k /dev/null" to the
useradd command to prevent /etc/skel files from coming across. Suggested by Anderson Lizardo. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3184 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter05/chapter05.xml2
-rw-r--r--index.xml4
3 files changed, 7 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 9e3412c1e..9c030ecbf 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -55,6 +55,10 @@
</itemizedlist>
</listitem>
+<listitem><para>January 25th, 2004 [greg]: Chapter 5 - Adding the user lfs:
+Added "-k /dev/null" to the useradd command to prevent /etc/skel files from
+coming across.</para></listitem>
+
<listitem><para>January 21st, 2004 [alex]: Chapters 2 and 6 - Making a few
extra cross references.</para></listitem>
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml
index 54cdd5c52..235dddce6 100644
--- a/chapter05/chapter05.xml
+++ b/chapter05/chapter05.xml
@@ -313,7 +313,7 @@ work environment we'll create a new user <emphasis>lfs</emphasis> and
use this one during the installation process. As <emphasis>root</emphasis>,
issue the following commands to add the new user:</para>
-<screen><userinput>useradd -s /bin/bash -m lfs
+<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs
passwd lfs</userinput></screen>
<para>Now grant this new user <emphasis>lfs</emphasis> full access to
diff --git a/index.xml b/index.xml
index 17d1f717b..76f7011cf 100644
--- a/index.xml
+++ b/index.xml
@@ -2,8 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/share/docbook/docbookx.dtd" [
-<!ENTITY version "CVS-2004-01-22">
-<!ENTITY releasedate "January 22nd, 2004">
+<!ENTITY version "CVS-2004-01-25">
+<!ENTITY releasedate "January 25th, 2004">
<!ENTITY milestone "5.1">
<!ENTITY nbsp " ">