%general-entities; ]> Shadow-&shadow-version; Shadow boot Installation of Shadow cp -v src/Makefile.in{,.orig} sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \ src/Makefile.in.orig > src/Makefile.in Prepare Shadow for compilation: ./configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc The meaning of the configure options: --sysconfdir=/etc Tells Shadow to install its configuration files into /etc, rather than /tools/etc. Tell Shadow to use passwd in /tools/bin: cp config.h{,.orig} sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&@' config.h.orig > config.h Compile the package: make Install the package: make DESTDIR=${CLFS} install <para>Details on this package are located in <xref linkend="contents-shadow" role="."/></para> </sect2> </sect1>