diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2003-08-31 21:06:48 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2003-08-31 21:06:48 +0000 |
commit | 09c1e758b639de7a4f632a4e22c46c2863507714 (patch) | |
tree | 0e9ac3a749ab6f60e0717dce3bd230be53b2d557 | |
parent | 087e584f625ded123c5e6bc17d5c2ff1f5a8009c (diff) |
Added user and group nobody for coreutils tests
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2707 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter06/pwdgroup.xml | 10 | ||||
-rw-r--r-- | index.xml | 4 |
3 files changed, 13 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index bd602a3a6..48cd84910 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -82,6 +82,9 @@ </itemizedlist> </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 30, 2003 [jeremy] - Updated fix-includes patch to GCC 3.3.1</para></listitem> diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index 05b712710..c26f90ae5 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -5,12 +5,17 @@ <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.</para> +<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> <para>Create the <filename>/etc/passwd</filename> file by running the following command:</para> -<para><screen><userinput>echo "root:x:0:0:root:/root:/bin/bash" > /etc/passwd</userinput></screen></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 placeholder) will be set later.</para> @@ -31,6 +36,7 @@ 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 @@ -4,8 +4,8 @@ <!ENTITY book SYSTEM "book/book.xml"> -<!ENTITY version "20030830"> -<!ENTITY releasedate "August 30th, 2003"> +<!ENTITY version "20030831"> +<!ENTITY releasedate "August 31th, 2003"> <!ENTITY nbsp " "> <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> |