shadowpwd-inst.xml 916 B

12345678910111213141516171819202122232425
  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
  4. the <ulink url="&hints-root;shadowpasswd_plus.txt"/> lfs hint. It
  5. 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. cp etc/{limits,login.access} /etc &amp;&amp;
  13. sed 's%/var/spool/mail%/var/mail%' \
  14. &nbsp;&nbsp;&nbsp;&nbsp;etc/login.defs.linux &gt; /etc/login.defs &amp;&amp;
  15. ln -sf vipw /usr/sbin/vigr &amp;&amp;
  16. rm /bin/vipw &amp;&amp;
  17. mv /bin/sg /usr/bin &amp;&amp;
  18. mv /lib/{libmisc.*a,libshadow.*a} /usr/lib &amp;&amp;
  19. ln -s ../../lib/libshadow.so /usr/lib</userinput></screen></para>
  20. </sect2>