Estimated build time: 0.88 SBU Estimated required disk space: 7 MB |
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 http://hints.linuxfromscratch.org/hints/shadowpasswd_plus.txt.
Install the Shadow Password Suite by running the following commands:
./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 |
Sh-utils and Shadow Password Suite each install a unique groups program. If you wish, you may remove the groups program installed by the Shadow Password Suite by running the following command:
rm /bin/groups |
Last checked against version 4.0.3.
chage changes the number of days between password changes and the date of the last password change.
The groupdel command modifies the system account files, deleting all entries that refer to group.
logoutd enforces the login time and port restrictions specified in /etc/porttime.