diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-06-03 22:25:25 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-06-03 22:25:25 +0000 |
commit | 66e432588705fb9a93210428be3ab4d1ab711792 (patch) | |
tree | 3a1f6d599b2f00180201a242320ac284a9a07278 /chapter05/adding-user.xml | |
parent | 8f999de57b7627b498f14b7164ec746a4c9510b7 (diff) |
Applied Alex' "apapting-the-text.patch" patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/adding-user.xml')
-rw-r--r-- | chapter05/adding-user.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/chapter05/adding-user.xml b/chapter05/adding-user.xml index 131368503..8e4881815 100644 --- a/chapter05/adding-user.xml +++ b/chapter05/adding-user.xml @@ -2,24 +2,26 @@ <title>Adding the user lfs</title> <?dbhtml filename="addinguser.html" dir="chapter05"?> -<para>If you are logged in as <emphasis>root</emphasis> during Chapter 5, -your host system can be damaged by a single mistake. We recommend that -you build the packages in Chapter 5 as an unprivileged user. You could use -your own user name, but to ensure a clean build environment, we'll create a -new user: <emphasis>lfs</emphasis>. As <emphasis>root</emphasis>, issue -the following commands to add the new user:</para> +<para>When logged in as <emphasis>root</emphasis>, making a single mistake +can damage or even wreck your system. Therefore we recommend that you +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> <para><screen><userinput>useradd -s /bin/bash -m lfs passwd lfs</userinput></screen></para> -<para>In order to grant ownership of the <filename>$LFS/stage1</filename> -directory to the user <emphasis>lfs</emphasis>, issue the command:</para> +<para>Now grant this new user <emphasis>lfs</emphasis> full access to +<filename class="directory">$LFS/stage1</filename> by giving it ownership +of the directory:</para> <para><screen><userinput>chown lfs $LFS/stage1</userinput></screen></para> -<para>Next, login as user <emphasis>lfs</emphasis>. This can be accomplished -via a virtual console, display manager or with the substitute user -command:</para> +<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> |