mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
677712e9b7
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1833 af4574ff-66df-0310-9fd7-8a98e5e911e0
21 lines
723 B
XML
21 lines
723 B
XML
<sect2>
|
|
<title>Installation of <application>shadow</application></title>
|
|
|
|
<para>Reinstall shadow by running the following commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../shadow-&shadow-version;-pam-1.patch &&
|
|
LIBS="-lpam -lpam_misc" ./configure --libdir=/usr/lib \
|
|
--enable-shared --with-libpam &&
|
|
echo '#define HAVE_SETLOCALE 1' >> config.h &&
|
|
make &&
|
|
make install &&
|
|
mv /bin/sg /usr/bin &&
|
|
mv /bin/vigr /usr/sbin &&
|
|
rm /bin/groups &&
|
|
mv /usr/lib/lib{misc,shadow}.so.0* /lib &&
|
|
ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &&
|
|
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|