7.5. Shadow-

The Shadow package contains programs for handling passwords in a secure way.

7.5.1. Installation of Shadow

Disable the installation of the groups program, as Coreutils provides a better version:

cp -v src/Makefile.in{,.orig}
sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in

Prepare Shadow for compilation:

CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc

The meaning of the configure options:


Tells Shadow to install its configuration files into /etc, rather than /tools/etc.

Compile the package:


This package does not come with a test suite.

Install the package:

make DESTDIR=${CLFS} install

Details on this package are located in Section 10.23.4, “Contents of Shadow.”