aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash.xml
diff options
context:
space:
mode:
authorDan Nichilson <dnicholson@linuxfromscratch.org>2007-08-08 18:10:57 +0000
committerDan Nichilson <dnicholson@linuxfromscratch.org>2007-08-08 18:10:57 +0000
commit31d3f3218663df11fbc3f51e558c75a87fe5a5dd (patch)
tree7d38b3683ec96466874ae27f42ae55b7a306639a /chapter06/bash.xml
parent954ca05ade9b67703033c023e014cb4b9c976c6d (diff)
Fix bash stdin test to work when switching users
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8294 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r--chapter06/bash.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index ba08418f3..56d077a22 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -81,9 +81,10 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
chown -Rv nobody ./</userinput></screen>
<para>Now, run the tests as the <systemitem
- class="username">nobody</systemitem> user:</para>
+ class="username">nobody</systemitem> user, ensuring that the standard
+ input device is readable:</para>
-<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
+<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" &lt;/dev/tty</userinput></screen>
<para>Install the package:</para>