mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 21:12:12 +08:00
c8181acc45
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@996 af4574ff-66df-0310-9fd7-8a98e5e911e0
29 lines
955 B
XML
29 lines
955 B
XML
<sect2>
|
|
<title>Re-installation of <application>shadow</application> to utilize
|
|
<application><acronym>PAM</acronym></application></title>
|
|
|
|
<screen>shadow requires:
|
|
<xref linkend="Linux_PAM"/></screen>
|
|
|
|
<para>Download the patch for shadow from <ulink url="&hfile-root;"/>.</para>
|
|
|
|
<para>Reinstall shadow by running the following commands:</para>
|
|
|
|
<para><screen><userinput><command>patch -Np1 -i ../shadow-4.0.3.patch &&
|
|
autoconf &&
|
|
LDFLAGS="-lpam -lpam_misc" ./configure --prefix=/usr --libdir=/usr/lib \
|
|
--enable-shared --with-libpam &&
|
|
make &&
|
|
make install &&
|
|
ln -sf vipw /usr/sbin/vigr &&
|
|
rm /bin/vipw &&
|
|
mv /bin/sg /usr/bin &&
|
|
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 &&
|
|
cp debian/securetty /etc/securetty</command></userinput></screen></para>
|
|
|
|
|
|
</sect2>
|
|
|