aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/chapter05.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2004-01-27 22:27:44 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2004-01-27 22:27:44 +0000
commit69276a949a1782f6fbff97e1ee26424a11c89cd4 (patch)
treec2186e58b149e881003d1adf3962f4cf7128bd00 /chapter05/chapter05.xml
parentdaaa09419c0987d6e4167110c26224d43676b53a (diff)
Tweaking the texts for build time and disk space.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3188 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/chapter05.xml')
-rw-r--r--chapter05/chapter05.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml
index b49c41468..365fd3ef7 100644
--- a/chapter05/chapter05.xml
+++ b/chapter05/chapter05.xml
@@ -316,6 +316,18 @@ issue the following commands to add the new user:</para>
<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs
passwd lfs</userinput></screen>
+<para>The meaning of the switches:</para>
+
+<itemizedlist>
+<listitem><para><userinput>-s /bin/bash</userinput>: This makes
+<userinput>bash</userinput> the default shell for user
+<emphasis>lfs</emphasis>.</para></listitem>
+
+<listitem><para><userinput>-m -k /dev/null</userinput>: These create a home
+directory for <emphasis>lfs</emphasis>, while preventing the files from a
+possible <filename>/etc/skel</filename> being copied into it.</para></listitem>
+</itemizedlist>
+
<para>Now grant this new user <emphasis>lfs</emphasis> full access to
<filename class="directory">$LFS/tools</filename> by giving it ownership
of the directory:</para>