diff options
author | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2007-04-03 12:21:48 +0000 |
---|---|---|
committer | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2007-04-03 12:21:48 +0000 |
commit | f4c628cc8009690144917de718338bb95cbff428 (patch) | |
tree | dc5da569c6dad157c691e3627ab3e49f0d52b345 /chapter05 | |
parent | 85d8df50447b4bdcae11a0fb45253ed6fa8549bb (diff) |
Install su from coreutils in chapter 5 as su-tools. Use su-tools to run test suites from coreutils and bash as user nobody. Fixes #1877
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8006 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/coreutils.xml | 9 |
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"> |