source: postlfs/security/shadow/shadow-inst.xml@ c8181ac

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since c8181ac was c8181ac, checked in by Larry Lawrence <larry@…>, 19 years ago

fixes from blfs-dev

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@996 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 955 bytes
RevLine 
[96e3995]1<sect2>
[c8181ac]2<title>Re-installation of <application>shadow</application> to utilize
3<application><acronym>PAM</acronym></application></title>
[96e3995]4
[f22f96e9]5<screen>shadow requires:
6<xref linkend="Linux_PAM"/></screen>
7
[036393e]8<para>Download the patch for shadow from <ulink url="&hfile-root;"/>.</para>
[ff7687a7]9
[96e3995]10<para>Reinstall shadow by running the following commands:</para>
11
[c8181ac]12<para><screen><userinput><command>patch -Np1 -i ../shadow-4.0.3.patch &amp;&amp;
[ff7687a7]13autoconf &amp;&amp;
[fadd206]14LDFLAGS="-lpam -lpam_misc" ./configure --prefix=/usr --libdir=/usr/lib \
15--enable-shared --with-libpam &amp;&amp;
[96e3995]16make &amp;&amp;
17make install &amp;&amp;
[c8181ac]18ln -sf vipw /usr/sbin/vigr &amp;&amp;
[96e3995]19rm /bin/vipw &amp;&amp;
[fadd206]20mv /bin/sg /usr/bin &amp;&amp;
21mv /usr/lib/lib{misc,shadow}.so.0* /lib &amp;&amp;
[ff7687a7]22ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &amp;&amp;
23ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so &amp;&amp;
[c8181ac]24cp debian/securetty /etc/securetty</command></userinput></screen></para>
[96e3995]25
26
27</sect2>
28
Note: See TracBrowser for help on using the repository browser.