mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 14:07:39 +00:00
ceef8bef24
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1711 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
29 lines
1.0 KiB
XML
29 lines
1.0 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
|
|
<ulink url="http://hints.linuxfromscratch.org/hints/shadowpasswd_plus.txt">http://hints.linuxfromscratch.org/hints/shadowpasswd_plus.txt</ulink>
|
|
lfs hint. It discusses how you can make your system more secure regarding
|
|
passwords and how to get the most out of this Shadow package.</para>
|
|
|
|
<para>Install the Shadow Password Suite by running the
|
|
following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --enable-shared &&
|
|
make &&
|
|
make install &&
|
|
cd etc &&
|
|
cp limits login.access /etc &&
|
|
sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs &&
|
|
cd /usr/sbin &&
|
|
ln -sf vipw vigr &&
|
|
rm /bin/vipw &&
|
|
mv /bin/sg /usr/bin &&
|
|
cd /lib &&
|
|
mv libmisc.*a libshadow.*a /usr/lib &&
|
|
cd /usr/lib &&
|
|
ln -s ../../lib/libshadow.so</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|