aboutsummaryrefslogtreecommitdiffstats
path: root/chapter04/addinguser.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-29 20:00:54 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-29 20:00:54 +0000
commit55851d6ef3b438d78359c9ea0ba861069bedeeb1 (patch)
treed9f97db0df5856fb68fd325a4885b9edbf2d5c90 /chapter04/addinguser.xml
parentd44a965cfe95996da670a7f053cb30222e41b36f (diff)
Tagging corrections in chapters 1 to 4.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter04/addinguser.xml')
-rw-r--r--chapter04/addinguser.xml25
1 files changed, 17 insertions, 8 deletions
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml
index 5763b04c5..0a2688efc 100644
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@ -19,19 +19,28 @@ issue the following command to add the new user:</para>
<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
+<variablelist>
+<varlistentry>
+<term><parameter>-s /bin/bash</parameter></term>
+<listitem><para>This makes
+<command>bash</command> the default shell for user
<emphasis>lfs</emphasis>.</para></listitem>
+</varlistentry>
-<listitem><para><userinput>-m</userinput>: This creates a home
+<varlistentry>
+<term><parameter>-m</parameter></term>
+<listitem><para>This creates a home
directory for <emphasis>lfs</emphasis>.</para></listitem>
+</varlistentry>
-<listitem><para><userinput>-k /dev/null</userinput>: This parameter
+<varlistentry>
+<term><parameter>-k /dev/null</parameter></term>
+<listitem><para>This parameter
prevents possible copying of files from a skeleton directory (default
-is <filename>/etc/skel</filename>) by changing the input location to
+is <filename class="directory">/etc/skel</filename>) by changing the input location to
the special null device.</para></listitem>
-</itemizedlist>
+</varlistentry>
+</variablelist>
<para>If you want to be able to log in as <emphasis>lfs</emphasis>, then give
<emphasis>lfs</emphasis> a password:</para>
@@ -55,7 +64,7 @@ user command:</para>
<screen><userinput>su - lfs</userinput></screen>
-<para>The <quote><command>-</command></quote> instructs <command>su</command> to
+<para>The <quote><parameter>-</parameter></quote> instructs <command>su</command> to
start a <emphasis>login</emphasis> shell.</para>
</sect1>