diff options
Diffstat (limited to 'chapter05/adding-user.xml')
-rw-r--r-- | chapter05/adding-user.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter05/adding-user.xml b/chapter05/adding-user.xml index d8dd85422..65aaa8a2d 100644 --- a/chapter05/adding-user.xml +++ b/chapter05/adding-user.xml @@ -10,20 +10,20 @@ 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> -<para><screen><userinput>useradd -s /bin/bash -m lfs -passwd lfs</userinput></screen></para> +<screen><userinput>useradd -s /bin/bash -m lfs +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> -<para><screen><userinput>chown lfs $LFS/tools</userinput></screen></para> +<screen><userinput>chown lfs $LFS/tools</userinput></screen> <para>Next, login as user <emphasis>lfs</emphasis>. This can be done via a virtual console, through a display manager, or with the following substitute user command:</para> -<para><screen><userinput>su - lfs</userinput></screen></para> +<screen><userinput>su - lfs</userinput></screen> <para>The "<userinput>-</userinput>" instructs <userinput>su</userinput> to start a new, clean shell.</para> |