shadowpwd-inst.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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 Shadow hint. It discusses how you can make your system more secure
  5. regarding passwords, such as how to enable the more secure MD5 passwords,
  6. and how to get the most out of this Shadow package. The Shadow hint can
  7. be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para>
  8. <para>Install the Shadow Password Suite by running the
  9. following commands:</para>
  10. <para><screen><userinput>./configure --prefix=/usr \
  11. &nbsp;&nbsp;&nbsp;&nbsp;--libdir=/usr/lib --enable-shared &amp;&amp;
  12. make &amp;&amp;
  13. make install &amp;&amp;
  14. cp etc/{limits,login.access} /etc &amp;&amp;
  15. sed 's%/var/spool/mail%/var/mail%' \
  16. &nbsp;&nbsp;&nbsp;&nbsp;etc/login.defs.linux &gt; /etc/login.defs &amp;&amp;
  17. ln -s vipw /usr/sbin/vigr &amp;&amp;
  18. rm /bin/vipw &amp;&amp;
  19. mv /bin/sg /usr/bin &amp;&amp;
  20. mv /usr/lib/lib{shadow,misc}.so.0* /lib &amp;&amp;
  21. ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &amp;&amp;
  22. ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen></para>
  23. <para>Sh-utils and Shadow Password Suite each install a unique
  24. <filename>groups</filename> program. If you wish, you may remove the
  25. <filename>groups</filename> program installed by the Shadow Password
  26. Suite by running the following command:</para>
  27. <para><screen><userinput>rm /bin/groups</userinput></screen></para>
  28. </sect2>