aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/chapter05.xml
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 /chapter05/chapter05.xml
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
Diffstat (limited to 'chapter05/chapter05.xml')
-rw-r--r--chapter05/chapter05.xml2
1 files changed, 1 insertions, 1 deletions
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