|
@@ -4,16 +4,13 @@
|
|
|
|
|
|
<para>In order for <emphasis>root</emphasis> to be able to login and for the
|
|
|
name "root" to be recognized, there need to be relevant entries in the
|
|
|
-<filename>/etc/passwd</filename> and <filename>/etc/group</filename> files.
|
|
|
-Also, to support one of the coreutils tests, we will also create the user and
|
|
|
-group nobody, which is almost universally present on Linux computers.</para>
|
|
|
+<filename>/etc/passwd</filename> and <filename>/etc/group</filename> files.</para>
|
|
|
|
|
|
<para>Create the <filename>/etc/passwd</filename> file by running the following
|
|
|
command:</para>
|
|
|
|
|
|
<para><screen><userinput>cat > /etc/passwd << "EOF"</userinput>
|
|
|
root:x:0:0:root:/root:/bin/bash
|
|
|
-nobody:x:1000:1000:nobody:/:/bin/bash
|
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
|
<para>The actual password for <emphasis>root</emphasis> (the "x" here is just a
|
|
@@ -35,7 +32,6 @@ disk:x:8:
|
|
|
lp:x:9:
|
|
|
dialout:x:10:
|
|
|
audio:x:11:
|
|
|
-nobody:x:1000:
|
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
|
<para>The created groups aren't part of any standard -- they are the groups
|