Install su as 'su', not 'su-tools' in chapter 5. Use chapter 6's 'su' for Bash. Fixes #3057.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9810 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2012-04-15 21:12:27 +00:00
parent 9bb0228cb0
commit 6ba7c0f4bc
5 changed files with 19 additions and 9 deletions

View File

@ -36,6 +36,18 @@
</listitem> </listitem>
--> -->
<listitem>
<para>2012-04-15</para>
<itemizedlist>
<listitem>
<para>[matthew] - Use su from chapter 6 Coreutils in the Bash
instructions, instead of the one from chapter 5. Install su as su
rather than su-tools in chapter 5. Fixes
<ulink url="&lfs-ticket-root;3057">#3057</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2012-05-09</para> <para>2012-05-09</para>
<itemizedlist> <itemizedlist>

View File

@ -81,12 +81,10 @@
<para>The above command refuses to install <filename>su</filename> <para>The above command refuses to install <filename>su</filename>
because the program cannot be installed setuid root as a non-privileged because the program cannot be installed setuid root as a non-privileged
user. By manually installing it with a different name, we can use it for user. By manually installing it, we can use it for running tests in the
running tests in the final system as a non-privileged user and we keep a final system as a non-privileged user. Install it with:</para>
possibly useful <command>su</command> from our host first in our PATH.
Install it with:</para>
<screen><userinput remap="install">cp -v src/su /tools/bin/su-tools</userinput></screen> <screen><userinput remap="install">cp -v src/su /tools/bin</userinput></screen>
</sect2> </sect2>

View File

@ -89,7 +89,7 @@
<para>Now, run the tests as the <systemitem <para>Now, run the tests as the <systemitem
class="username">nobody</systemitem> user:</para> class="username">nobody</systemitem> user:</para>
<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make tests"</userinput></screen> <screen><userinput remap="test">su nobody -s /bin/bash -c "make tests"</userinput></screen>
<para>Install the package:</para> <para>Install the package:</para>

View File

@ -105,7 +105,7 @@
<para>Now run the tests:</para> <para>Now run the tests:</para>
<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> <screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
<para>Remove the temporary group:</para> <para>Remove the temporary group:</para>

View File

@ -1,5 +1,5 @@
<!ENTITY version "SVN-20120409"> <!ENTITY version "SVN-20120415">
<!ENTITY releasedate "Apr 09, 2012"> <!ENTITY releasedate "Apr 15, 2012">
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; --> <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.2"> <!ENTITY milestone "7.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->