mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-22 13:19:20 +01:00
Remove the nobody user and group.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2876 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
96dfe0f5bf
commit
c9fb357ffd
@ -345,9 +345,6 @@ for GCC 3.3.1 with respect to the fixincludes process. Also added extra
|
|||||||
verbiage to the locking-in and GCC pass 2 pages on the fixincludes
|
verbiage to the locking-in and GCC pass 2 pages on the fixincludes
|
||||||
process.</para></listitem>
|
process.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>August 31, 2003 [jeremy] - Added user nobody to
|
|
||||||
passwd and group files, so coreutils tests will pass.</para></listitem>
|
|
||||||
|
|
||||||
<listitem><para>August 31st, 2003 [alex]: Reworded some paragraphs, added
|
<listitem><para>August 31st, 2003 [alex]: Reworded some paragraphs, added
|
||||||
missing markup, and rearranged the changelog.</para></listitem>
|
missing markup, and rearranged the changelog.</para></listitem>
|
||||||
|
|
||||||
|
@ -4,16 +4,13 @@
|
|||||||
|
|
||||||
<para>In order for <emphasis>root</emphasis> to be able to login and for the
|
<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
|
name "root" to be recognized, there need to be relevant entries in the
|
||||||
<filename>/etc/passwd</filename> and <filename>/etc/group</filename> files.
|
<filename>/etc/passwd</filename> and <filename>/etc/group</filename> files.</para>
|
||||||
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>
|
|
||||||
|
|
||||||
<para>Create the <filename>/etc/passwd</filename> file by running the following
|
<para>Create the <filename>/etc/passwd</filename> file by running the following
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > /etc/passwd << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/passwd << "EOF"</userinput>
|
||||||
root:x:0:0:root:/root:/bin/bash
|
root:x:0:0:root:/root:/bin/bash
|
||||||
nobody:x:1000:1000:nobody:/:/bin/bash
|
|
||||||
<userinput>EOF</userinput></screen></para>
|
<userinput>EOF</userinput></screen></para>
|
||||||
|
|
||||||
<para>The actual password for <emphasis>root</emphasis> (the "x" here is just a
|
<para>The actual password for <emphasis>root</emphasis> (the "x" here is just a
|
||||||
@ -35,7 +32,6 @@ disk:x:8:
|
|||||||
lp:x:9:
|
lp:x:9:
|
||||||
dialout:x:10:
|
dialout:x:10:
|
||||||
audio:x:11:
|
audio:x:11:
|
||||||
nobody:x:1000:
|
|
||||||
<userinput>EOF</userinput></screen></para>
|
<userinput>EOF</userinput></screen></para>
|
||||||
|
|
||||||
<para>The created groups aren't part of any standard -- they are the groups
|
<para>The created groups aren't part of any standard -- they are the groups
|
||||||
|
Loading…
Reference in New Issue
Block a user