shadowpwd-inst.xml 1.0 KB

12345678910111213141516171819202122232425262728
  1. <sect2>
  2. <title>Installation of Shadow Password Suite</title>
  3. <para>Before you install this package, you may want to have a look at the
  4. <ulink url="http://hints.linuxfromscratch.org/hints/shadowpasswd_plus.txt">http://hints.linuxfromscratch.org/hints/shadowpasswd_plus.txt</ulink>
  5. lfs hint. It discusses how you can make your system more secure regarding
  6. passwords and how to get the most out of this Shadow package.</para>
  7. <para>Install the Shadow Password Suite by running the
  8. following commands:</para>
  9. <para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;
  10. make &amp;&amp;
  11. make install &amp;&amp;
  12. cd etc &amp;&amp;
  13. cp limits login.access /etc &amp;&amp;
  14. sed 's%/var/spool/mail%/var/mail%' login.defs.linux &gt; /etc/login.defs &amp;&amp;
  15. cd /usr/sbin &amp;&amp;
  16. ln -sf vipw vigr &amp;&amp;
  17. rm /bin/vipw &amp;&amp;
  18. mv /bin/sg /usr/bin &amp;&amp;
  19. cd /lib &amp;&amp;
  20. mv libmisc.*a libshadow.*a /usr/lib &amp;&amp;
  21. cd /usr/lib &amp;&amp;
  22. ln -s ../../lib/libshadow.so</userinput></screen></para>
  23. </sect2>