|
@@ -316,6 +316,18 @@ issue the following commands to add the new user:</para>
|
|
<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs
|
|
<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs
|
|
passwd lfs</userinput></screen>
|
|
passwd lfs</userinput></screen>
|
|
|
|
|
|
|
|
+<para>The meaning of the switches:</para>
|
|
|
|
+
|
|
|
|
+<itemizedlist>
|
|
|
|
+<listitem><para><userinput>-s /bin/bash</userinput>: This makes
|
|
|
|
+<userinput>bash</userinput> the default shell for user
|
|
|
|
+<emphasis>lfs</emphasis>.</para></listitem>
|
|
|
|
+
|
|
|
|
+<listitem><para><userinput>-m -k /dev/null</userinput>: These create a home
|
|
|
|
+directory for <emphasis>lfs</emphasis>, while preventing the files from a
|
|
|
|
+possible <filename>/etc/skel</filename> being copied into it.</para></listitem>
|
|
|
|
+</itemizedlist>
|
|
|
|
+
|
|
<para>Now grant this new user <emphasis>lfs</emphasis> full access to
|
|
<para>Now grant this new user <emphasis>lfs</emphasis> full access to
|
|
<filename class="directory">$LFS/tools</filename> by giving it ownership
|
|
<filename class="directory">$LFS/tools</filename> by giving it ownership
|
|
of the directory:</para>
|
|
of the directory:</para>
|