Installation of Shadow Password Suite
Before you install this package, you may want to have a look at
the lfs 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.
Install the Shadow Password Suite by running the
following commands:
./configure --prefix=/usr --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 -sf vipw /usr/sbin/vigr &&
rm /bin/vipw &&
mv /bin/sg /usr/bin &&
mv /lib/{libmisc.*a,libshadow.*a} /usr/lib &&
ln -s ../../lib/libshadow.so /usr/lib