|
@@ -311,10 +311,9 @@ build the packages in this chapter as an unprivileged user. You could
|
|
|
of course use your own user name, but to make it easier to set up a clean
|
|
|
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>
|
|
|
+issue the following command to add the new user:</para>
|
|
|
|
|
|
-<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs
|
|
|
-passwd lfs</userinput></screen>
|
|
|
+<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs</userinput></screen>
|
|
|
|
|
|
<para>The meaning of the switches:</para>
|
|
|
|
|
@@ -328,6 +327,11 @@ directory for <emphasis>lfs</emphasis>, while preventing the files from a
|
|
|
possible <filename>/etc/skel</filename> being copied into it.</para></listitem>
|
|
|
</itemizedlist>
|
|
|
|
|
|
+<para>If you want to be able to log in as <emphasis>lfs</emphasis>, then give
|
|
|
+this new user a password:</para>
|
|
|
+
|
|
|
+<screen><userinput>passwd lfs</userinput></screen>
|
|
|
+
|
|
|
<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>
|