diff options
Diffstat (limited to 'chapter06/pwdgroup.xml')
-rw-r--r-- | chapter06/pwdgroup.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index e73b61049..ad1c36723 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -22,9 +22,9 @@ the <filename>/etc/passwd</filename> and <filename>/etc/group</filename> files. <para>Create the <filename>/etc/passwd</filename> file by running the following command:</para> -<screen><userinput>cat > /etc/passwd << "EOF"</userinput> +<screen><userinput>cat > /etc/passwd << "EOF" root:x:0:0:root:/root:/bin/bash -<userinput>EOF</userinput></screen> +EOF</userinput></screen> <para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote> here is just a placeholder) will be set later.</para> @@ -32,7 +32,7 @@ here is just a placeholder) will be set later.</para> <para>Create the <filename>/etc/group</filename> file by running the following command:</para> -<screen><userinput>cat > /etc/group << "EOF"</userinput> +<screen><userinput>cat > /etc/group << "EOF" root:x:0: bin:x:1: sys:x:2: @@ -48,7 +48,7 @@ audio:x:11: video:x:12: utmp:x:13: usb:x:14: -<userinput>EOF</userinput></screen> +EOF</userinput></screen> <para>The created groups aren't part of any standard -- they are some of the groups that the Udev configuration we will be using in the next section @@ -67,7 +67,7 @@ user name and group name resolution will now work.</para> <screen><userinput>exec /tools/bin/bash --login +h</userinput></screen> -<para>Note the use of the <emphasis>+h</emphasis> directive. This tells +<para>Note the use of the <parameter>+h</parameter> directive. This tells <command>bash</command> not to use its internal path hashing. Without this directive, <command>bash</command> would remember the paths to binaries it has executed. Since we want to use our newly compiled binaries as soon as |