Changeset fd5612b


Ignore:
Timestamp:
02/05/2012 03:19:07 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
dce429c
Parents:
816d7bae
Message:

Do we need to move these files? Typos can be disastrous; see this thread:
http://linuxfromscratch.org/pipermail/blfs-support/2012-February/069358.html

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/linux-pam.xml

    r816d7bae rfd5612b  
    9595    <para condition="html" role="usernotes">User Notes:
    9696    <ulink url="&blfs-wiki;/linux-pam"/></para>
    97 
    9897  </sect2>
    9998
     
    138137<screen role="root"><userinput>rm -rfv /etc/pam.d</userinput></screen>
    139138
    140     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     139    <para>Now, as the <systemitem class="username">root</systemitem>
     140    user:</para>
    141141
    142142<screen role="root"><userinput>make install &amp;&amp;
    143143chmod -v 4755 /lib/security/unix_chkpwd &amp;&amp;
    144 
    145 mv -v /lib/security/pam_tally /sbin &amp;&amp;
    146 
    147 mv -v /lib/libpam{,c,_misc}.la /usr/lib &amp;&amp;
    148 sed -i 's| /lib| /usr/lib|' /usr/lib/libpam_misc.la &amp;&amp;
    149 
    150 if [ -L /lib/libpam.so ]; then
    151    for LINK in libpam{,c,_misc}.so; do
    152        ln -v -sf ../../lib/$(readlink /lib/${LINK}) /usr/lib/${LINK} &amp;&amp;
    153        rm -v /lib/${LINK}
    154    done
    155 fi</userinput></screen>
    156 
     144mv -v /lib/security/pam_tally /sbin</userinput></screen>
    157145  </sect2>
    158146
     
    171159    <para><parameter>--disable-nis</parameter>: This option disables building
    172160    Network Information Service/Yellow Pages support in pam_unix and pam_access
    173     as nis is deprecated in glibc.</para>
     161    as the RPC implementation in glibc (on which NIS/YP depends) is
     162    deprecated.</para>
    174163
    175164    <para><parameter>--enable-read-both-confs</parameter>: This parameter
    176165    allows the local administrator to choose which configuration file setup to
    177166    use.</para>
    178 
    179     <!-- This appears unnecessary as the xauth module is created even if X
    180          has not yet been installed.
    181     <para><parameter>-with-xauth=/usr/X11R6/bin/xauth</parameter>: This
    182     parameter forces the build of the pam_xauth module, even if xauth is not
    183     yet installed.  Omit this switch if you have no plans to build
    184     <application>Xorg</application>, or modify the path if you intend to
    185     install <application>Xorg</application> into a non-standard path.</para> -->
    186167
    187168    <para><command>chmod -v 4755 /lib/security/unix_chkpwd</command>:
     
    194175    administrator, possibly in single-user mode, so it is moved to the
    195176    appropriate directory.</para>
    196 
    197     <para><command>mv -v /lib/libpam{,c,_misc}.la /usr/lib</command>: This
    198     command moves the <application>Libtool</application> library files to
    199     <filename class='directory'>/usr/lib</filename> as they are expected to
    200     reside there.</para>
    201 
    202     <para><command>sed -i 's| /lib| /usr/lib|'
    203     /usr/lib/libpam_misc.la</command>: This command corrects an installation
    204     reference due to the file being moved in the previous step.</para>
    205 
    206     <para><command>for ...; do ...; done</command>: These commands are used
    207     to relocate the <filename class='symlink'>.so</filename> symbolic links
    208     into the <filename class='directory'>/usr/lib</filename> directory by
    209     cloning and then removing the existing symlinks. Using
    210     <command>readlink</command> ensures the new symlinks point at the correct
    211     library filenames.</para>
    212 
    213177  </sect2>
    214178
     
    234198        <primary sortas="e-etc-pam.conf">/etc/pam.conf</primary>
    235199      </indexterm>
    236 
    237200    </sect3>
    238201
     
    277240        package.</para>
    278241      </important>
    279 
    280242    </sect3>
    281 
    282243  </sect2>
    283244
     
    326287        </listitem>
    327288      </varlistentry>
    328 
    329289    </variablelist>
    330 
    331   </sect2>
    332 
     290  </sect2>
    333291</sect1>
Note: See TracChangeset for help on using the changeset viewer.