mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 21:12:12 +08:00
7915966f19
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1234 af4574ff-66df-0310-9fd7-8a98e5e911e0
24 lines
774 B
XML
24 lines
774 B
XML
<sect2>
|
|
<title>Installation of <application>shadow</application></title>
|
|
|
|
<para>Download the patch for shadow from <ulink url="&patch-root;"/>.</para>
|
|
|
|
<para>Reinstall shadow by running the following commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../shadow-4.0.3-pam-2.patch &&
|
|
./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>
|
|
|
|
|
|
</sect2>
|
|
|