%general-entities; ]> Shadow-&shadow-version; Shadow boot Installation of Shadow Disable the installation of the groups and nologin programs, as better versions of these programs are provided by Coreutils and Util-linux: cp -v src/Makefile.in{,.orig} sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \ src/Makefile.in.orig > src/Makefile.in Prevent Shadow from setting installed programs suid: cp -v src/Makefile.in{,.orig} sed 's/\(^suidu*bins = \).*/\1/' src/Makefile.in.orig > src/Makefile.in Tell Shadow to use passwd in /tools/bin: cat > config.cache << "EOF" shadow_cv_passwd_dir=/tools/bin EOF Prepare Shadow for compilation: ./configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache Compile the package: make Install the package: make install <para>Details on this package are located in <xref linkend="contents-shadow" role="."/></para> </sect2> </sect1>