2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Shadow Password Suite</title>
|
|
|
|
|
2002-06-13 05:22:33 +01:00
|
|
|
<para>Before you install this package, you may want to have a look at
|
|
|
|
the Shadow hint. It discusses how you can make your system more secure
|
|
|
|
regarding passwords, such as how to enable the more secure MD5 passwords,
|
|
|
|
and how to get the most out of this Shadow package. The Shadow hint can
|
|
|
|
be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para>
|
2001-10-08 02:27:42 +01:00
|
|
|
|
2001-08-07 14:43:37 +01:00
|
|
|
<para>Install the Shadow Password Suite by running the
|
|
|
|
following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-09-13 15:59:37 +01:00
|
|
|
<para><screen><userinput>./configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib --enable-shared &&
|
2001-10-27 23:21:44 +01:00
|
|
|
make &&
|
|
|
|
make install &&
|
2002-05-02 21:15:02 +01:00
|
|
|
cp etc/{limits,login.access} /etc &&
|
|
|
|
sed 's%/var/spool/mail%/var/mail%' \
|
|
|
|
etc/login.defs.linux > /etc/login.defs &&
|
2002-08-18 18:26:58 +01:00
|
|
|
ln -s vipw /usr/sbin/vigr &&
|
2002-03-15 00:35:20 +00:00
|
|
|
rm /bin/vipw &&
|
|
|
|
mv /bin/sg /usr/bin &&
|
2002-09-14 05:18:47 +01:00
|
|
|
mv /usr/lib/lib{shadow,misc}.so.0* /lib &&
|
|
|
|
ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &&
|
|
|
|
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-08-18 18:26:58 +01:00
|
|
|
<para>Sh-utils and Shadow Password Suite each install a unique
|
|
|
|
<filename>groups</filename> program. If you wish, you may remove the
|
|
|
|
<filename>groups</filename> program installed by the Shadow Password
|
|
|
|
Suite by running the following command:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>rm /bin/groups</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-08-18 18:26:58 +01:00
|
|
|
</sect2>
|