aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/coreutils-inst.xml')
-rw-r--r--chapter06/coreutils-inst.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml
index 6e28571f7..665caa7c6 100644
--- a/chapter06/coreutils-inst.xml
+++ b/chapter06/coreutils-inst.xml
@@ -23,6 +23,13 @@ provided by Net-tools. Prevent its installation by applying a patch:</para>
<para><screen><userinput>make</userinput></screen></para>
+<para>The <userinput>su</userinput> program from Coreutils wasn't installed in
+Chapter 5 because it needed <emphasis>root</emphasis> privilege to do so. We're
+going to need it in a few moments for the test suite. Therefore we work around
+the problem by installing it now:</para>
+
+<para><screen><userinput>make install-root</userinput></screen></para>
+
<para>This package has a test suite available which can perform a number of
checks to ensure it built correctly. However, this particular test suite makes
some assumptions that aren't quite valid at this early stage of Chapter 6. We
@@ -35,12 +42,6 @@ and a dummy user name:</para>
echo "dummy2:x:1001:dummy" >> /etc/group
echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd</userinput></screen></para>
-<para>The <userinput>su</userinput> program from Coreutils wasn't installed in
-Chapter 5 because it needed <emphasis>root</emphasis> privilege to install. We
-work around this problem by installing it now:</para>
-
-<para><screen><userinput>make install-root</userinput></screen></para>
-
<para>Some tests are meant to run as <emphasis>root</emphasis>:</para>
<para><screen><userinput>make check-root</userinput></screen></para>