|
@@ -11,11 +11,13 @@
|
|
can damage or even wreck your system. Therefore we recommend that you
|
|
can damage or even wreck your system. Therefore we recommend that you
|
|
build the packages in this chapter as an unprivileged user. You could
|
|
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
|
|
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
|
|
|
|
|
|
+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>,
|
|
use this one during the installation process. As <emphasis>root</emphasis>,
|
|
-issue the following command to add the new user:</para>
|
|
|
|
|
|
+issue the following commands to add the new user:</para>
|
|
|
|
|
|
-<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs</userinput></screen>
|
|
|
|
|
|
+<screen><userinput>groupadd lfs
|
|
|
|
+useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
|
|
|
|
|
|
<para>The meaning of the switches:</para>
|
|
<para>The meaning of the switches:</para>
|
|
|
|
|
|
@@ -27,6 +29,12 @@ issue the following command to add the new user:</para>
|
|
<emphasis>lfs</emphasis>.</para></listitem>
|
|
<emphasis>lfs</emphasis>.</para></listitem>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
|
|
|
|
|
|
+<varlistentry>
|
|
|
|
+<term><parameter>-g lfs</parameter></term>
|
|
|
|
+<listitem><para>This adds user <emphasis>lfs</emphasis> to group
|
|
|
|
+<emphasis>lfs</emphasis></para></listitem>
|
|
|
|
+</varlistentry>
|
|
|
|
+
|
|
<varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>-m</parameter></term>
|
|
<term><parameter>-m</parameter></term>
|
|
<listitem><para>This creates a home
|
|
<listitem><para>This creates a home
|