aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadowpwd-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r--chapter06/shadowpwd-inst.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index e8a492b30..7f0a448c5 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -12,17 +12,14 @@ following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-cd etc &amp;&amp;
-cp limits login.access /etc &amp;&amp;
-sed 's%/var/spool/mail%/var/mail%' login.defs.linux &gt; /etc/login.defs &amp;&amp;
-cd /usr/sbin &amp;&amp;
-ln -sf vipw vigr &amp;&amp;
+cp etc/{limits,login.access} /etc &amp;&amp;
+sed 's%/var/spool/mail%/var/mail%' \
+&nbsp;&nbsp;&nbsp;&nbsp;etc/login.defs.linux &gt; /etc/login.defs &amp;&amp;
+ln -sf vipw /usr/bin/vigr &amp;&amp;
rm /bin/vipw &amp;&amp;
mv /bin/sg /usr/bin &amp;&amp;
-cd /lib &amp;&amp;
-mv libmisc.*a libshadow.*a /usr/lib &amp;&amp;
-cd /usr/lib &amp;&amp;
-ln -s ../../lib/libshadow.so</userinput></screen></para>
+mv /lib/{libmisc.*a,libshadow.*a} /usr/lib &amp;&amp;
+ln -s ../../lib/libshadow.so /usr/lib</userinput></screen></para>
</sect2>