mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
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:
parent
9bb0228cb0
commit
6ba7c0f4bc
@ -36,6 +36,18 @@
|
||||
</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>
|
||||
<para>2012-05-09</para>
|
||||
<itemizedlist>
|
||||
|
@ -81,12 +81,10 @@
|
||||
|
||||
<para>The above command refuses to install <filename>su</filename>
|
||||
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
|
||||
running tests in the final system as a non-privileged user and we keep a
|
||||
possibly useful <command>su</command> from our host first in our PATH.
|
||||
Install it with:</para>
|
||||
user. By manually installing it, we can use it for running tests in the
|
||||
final system as a non-privileged user. 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>
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
||||
<para>Now, run the tests as the <systemitem
|
||||
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>
|
||||
|
||||
|
@ -105,7 +105,7 @@
|
||||
|
||||
<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>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!ENTITY version "SVN-20120409">
|
||||
<!ENTITY releasedate "Apr 09, 2012">
|
||||
<!ENTITY version "SVN-20120415">
|
||||
<!ENTITY releasedate "Apr 15, 2012">
|
||||
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – -->
|
||||
<!ENTITY milestone "7.2">
|
||||
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
||||
|
Loading…
Reference in New Issue
Block a user