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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fadd206 was fadd206, checked in by Tushar Teredesai <tushar@…>, 21 years ago

Sync shadow instructions with lfs

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

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