aboutsummaryrefslogtreecommitdiffstats
path: root/chapter04/addinguser.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-12-19 19:50:52 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-12-19 19:50:52 +0000
commitae79672711d932594ad1ca8a0af33edf6a46aa46 (patch)
tree67cf79220b8b1fe09e58d72c1dbbfce839b872e4 /chapter04/addinguser.xml
parent86ca6e777e71b58416bb3e024f56a59a1ab2796d (diff)
More text dropped.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4425 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter04/addinguser.xml')
-rw-r--r--chapter04/addinguser.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml
index c0dc9ad67..ad0a3e836 100644
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@ -7,6 +7,7 @@
<title>Adding the user lfs</title>
<?dbhtml filename="addinguser.html"?>
+<!--
<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
@@ -15,10 +16,12 @@ work environment we'll create a new user <emphasis>lfs</emphasis> as a
member of a new group (also named <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>groupadd lfs
useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
+<!--
<para>The meaning of the switches:</para>
<variablelist>
@@ -52,27 +55,36 @@ the special null device.</para></listitem>
<para>If you want to be able to log in as <emphasis>lfs</emphasis>, then give
<emphasis>lfs</emphasis> a password:</para>
+-->
<screen><userinput>passwd lfs</userinput></screen>
+<!--
<para>and grant <emphasis>lfs</emphasis> full access to
<filename class="directory">$LFS/tools</filename> by making
<emphasis>lfs</emphasis> the directory owner:</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 <quote><parameter>-</parameter></quote> instructs <command>su</command> to
start a <emphasis>login</emphasis> shell.</para>
+-->
</sect1>