aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/coreutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/coreutils.xml')
-rw-r--r--chapter05/coreutils.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml
index 991338d9c..19211d802 100644
--- a/chapter05/coreutils.xml
+++ b/chapter05/coreutils.xml
@@ -56,6 +56,15 @@
<screen><userinput>make install</userinput></screen>
+ <para>The above command refuses to install <filename>su</filename>
+ because it cannot install it 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 place in our PATH. Install
+ it with:</para>
+
+<screen><userinput>cp -v src/su /tools/bin/su-tools</userinput></screen>
+
</sect2>
<sect2 role="content">