diff options
Diffstat (limited to 'chapter05/chapter05.xml')
-rw-r--r-- | chapter05/chapter05.xml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 2371cb826..53139ae54 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -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> |