aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/adding-user.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-13 22:31:08 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-13 22:31:08 +0000
commitcfabeeda7b517f8b7a202113d4c3c645c81579af (patch)
treee657971b3423813c400dd5bd71d7c36af1b8aa08 /chapter05/adding-user.xml
parent0ba2766b69ef1911d436eaf6cd6be684be50fc74 (diff)
Moving chapter 5 intermezzos into a single file.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3080 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/adding-user.xml')
-rw-r--r--chapter05/adding-user.xml36
1 files changed, 0 insertions, 36 deletions
diff --git a/chapter05/adding-user.xml b/chapter05/adding-user.xml
deleted file mode 100644
index 4f6f487c5..000000000
--- a/chapter05/adding-user.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<sect1 id="ch05-addinguser">
-<title>Adding the user lfs</title>
-<?dbhtml filename="addinguser.html" dir="chapter05"?>
-
-<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>
-
-<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>
-
-<screen><userinput>chown lfs $LFS/tools</userinput></screen>
-
-<para>If you made a separate working directory as suggested, give user
-<emphasis>lfs</emphasis> ownership of this directory too:</para>
-
-<screen><userinput>chown lfs $LFS/sources</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>
-
-<screen><userinput>su - lfs</userinput></screen>
-
-<para>The "<userinput>-</userinput>" instructs <userinput>su</userinput> to
-start a new, clean shell.</para>
-
-</sect1>