mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Shadow fixes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1833 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
d6147becbb
commit
677712e9b7
@ -1,6 +1,6 @@
|
||||
<sect1 id="shadow">
|
||||
<?dbhtml filename="shadow.html" dir="postlfs"?>
|
||||
<title>Shadow-4.0.3</title>
|
||||
<title>Shadow-&shadow-version;</title>
|
||||
|
||||
<!--
|
||||
<sect2>
|
||||
|
@ -1,21 +1,20 @@
|
||||
<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>LIBS="-lpam -lpam_misc" ./configure --libdir=/usr/lib \
|
||||
<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>
|
||||
|
||||
|
@ -8,6 +8,13 @@ this will allow programs like <command>login</command> and
|
||||
<command>su</command> to utilize
|
||||
<acronym>PAM</acronym>.</para>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Patch to fix linking against PAM:
|
||||
<ulink url="&patch-root;/shadow-&shadow-version;-pam-1.patch"/></para></listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>Shadow</application> dependencies</title>
|
||||
<sect4><title>Required</title>
|
||||
<para><xref linkend="Linux_PAM"/></para></sect4>
|
||||
|
@ -3,3 +3,4 @@
|
||||
<!ENTITY shadow-inst SYSTEM "shadow-inst.xml">
|
||||
<!ENTITY shadow-exp SYSTEM "shadow-exp.xml">
|
||||
<!ENTITY shadow-config SYSTEM "shadow-config.xml">
|
||||
<!ENTITY shadow-version "4.0.4.1">
|
||||
|
Loading…
Reference in New Issue
Block a user