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.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index 7af472138..7873f6974 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -9,14 +9,20 @@ passwords and how to get the most out of this Shadow package.</para>
<para>Install the Shadow Password Suite by running the
following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+<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</userinput></screen></para>
+ln -sf vipw vigr &amp;&amp;
+rm /bin/vipw &amp;&amp;
+mv /bin/sg /usr/bin &amp;&amp;
+cd /lib &amp;&amp;
+mv libshadow.*a /usr/lib &amp;&amp;
+cd /usr/lib &amp;&amp;
+ln -s ../../lib/libshadow.so</userinput></screen></para>
</sect2>