mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 21:49:13 +00:00
6a9875daac
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2164 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
35 lines
1.4 KiB
XML
35 lines
1.4 KiB
XML
<sect2>
|
|
<title>Installation of Shadow Password Suite</title>
|
|
|
|
<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>
|
|
|
|
<para>Install the Shadow Password Suite by running the
|
|
following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr \
|
|
--libdir=/usr/lib --enable-shared &&
|
|
make &&
|
|
make install &&
|
|
cp etc/{limits,login.access} /etc &&
|
|
sed 's%/var/spool/mail%/var/mail%' \
|
|
etc/login.defs.linux > /etc/login.defs &&
|
|
ln -s vipw /usr/sbin/vigr &&
|
|
rm /bin/vipw &&
|
|
mv /bin/sg /usr/bin &&
|
|
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>
|
|
|
|
<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>
|
|
|
|
</sect2>
|