%general-entities; ]> Shadow-&shadow-version; Shadow <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.4 SBU</seg><seg>11 MB</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Shadow Prepare Shadow for compilation: ./configure --libdir=/lib --enable-shared Remove the installation of the groups program, and it's man page: sed -i 's/groups$(EXEEXT) //' src/Makefile sed -i '/groups/d' man/Makefile Compile the package: make Then install it: make install Install two config files: cp etc/{limits,login.access} /etc Change a configuration file while copying it: sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ -e 's@/var/spool/mail@/var/mail@' \ etc/login.defs.linux > /etc/login.defs Move a program: mv /usr/bin/passwd /bin Move the library: mv /lib/libshadow.*a /usr/lib rm /lib/libshadow.so ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so Create a dir: mkdir /etc/default Configuring Shadow To enable shadowed passwords: pwconv To enable shadowed group passwords, run: grpconv Setting the root password Choose a password for user root and set it via: passwd root Contents of Shadow See testing