Changeset 903f671


Ignore:
Timestamp:
02/15/2009 05:59:51 PM (15 years ago)
Author:
Randy McMurchy <randy@…>
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:
bca744f
Parents:
7147513
Message:

Updated to Linux-PAM-1.0.3

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r7147513 r903f671  
    44-->
    55
    6 <!ENTITY day          "13">                   <!-- Always 2 digits -->
     6<!ENTITY day          "15">                   <!-- Always 2 digits -->
    77<!ENTITY month        "02">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2009">
     
    6363<!ENTITY gnutls-version               "1.6.3">
    6464<!ENTITY cracklib-version             "2.8.13">
    65 <!ENTITY linux-pam-version            "0.99.10.0">
     65<!ENTITY linux-pam-version            "1.0.3">
    6666<!ENTITY shadow-version               "4.0.18.1">
    6767<!ENTITY iptables-version             "1.3.8">
  • introduction/welcome/changelog.xml

    r7147513 r903f671  
    4343
    4444    <listitem>
     45      <para>February 15th, 2009</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[randy] - Updated to Linux-PAM-1.0.3.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4554      <para>February 13th, 2009</para>
    4655      <itemizedlist>
  • postlfs/security/linux-pam.xml

    r7147513 r903f671  
    55  %general-entities;
    66
    7   <!ENTITY linux-pam-download-http "http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&linux-pam-version;.tar.bz2">
    8   <!ENTITY linux-pam-download-ftp  "ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&linux-pam-version;.tar.bz2">
    9   <!ENTITY linux-pam-md5sum        "be4dd1d34ac5933408e13e48f3eb710a">
    10   <!ENTITY linux-pam-size          "911 kB">
    11   <!ENTITY linux-pam-buildsize     "23 MB">
     7  <!ENTITY linux-pam-download-http "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-&linux-pam-version;.tar.bz2">
     8  <!ENTITY linux-pam-download-ftp  "ftp://ftp.kernel.org/pub/linux/libs/pam/library/Linux-PAM-&linux-pam-version;.tar.bz2">
     9  <!ENTITY linux-pam-md5sum        "7cc8653cb31717dbb1380bde980c9fdf">
     10  <!ENTITY linux-pam-size          "1.0 MB">
     11  <!ENTITY linux-pam-buildsize     "19 MB (includes installing the optional documentation)">
    1212  <!ENTITY linux-pam-time          "0.6 SBU">
    13   <!ENTITY linux-pam-docs-download "&sources-anduin-http;/l/Linux-PAM-&linux-pam-version;-docs.tar.bz2">
     13
     14  <!ENTITY linux-pam-docs-download "http://www.kernel.org/pub/linux/libs/pam/documentation/Linux-PAM-&linux-pam-version;-docs.tar.bz2">
     15  <!ENTITY linux-pam-docs-md5sum   "119bffcb3e99e1d6d53a4d992584c03d">
     16  <!ENTITY linux-pam-docs-size     "714 KB">
    1417]>
    1518
     
    6164    <itemizedlist spacing='compact'>
    6265      <listitem>
    63         <para>Optional documentation:
    64         <ulink url="&linux-pam-docs-download;"/></para>
     66        <para>Optional documentation: <ulink url="&linux-pam-docs-download;"/></para>
     67      </listitem>
     68      <listitem>
     69        <para>Download MD5sum: &linux-pam-docs-md5sum;</para>
     70      </listitem>
     71      <listitem>
     72        <para>Download size &linux-pam-docs-size;</para>
    6573      </listitem>
    6674    </itemizedlist>
     
    6977
    7078    <bridgehead renderas="sect4">Optional</bridgehead>
    71     <para role="optional"><xref linkend="cracklib"/>, and
     79    <para role="optional"><xref linkend="cracklib"/>,
     80    <xref linkend="x-window-system"/>, and
    7281    <!-- <xref linkend="db"/> (for the pam_userdb module), -->
    7382    <ulink url="http://www.prelude-ids.org/">Prelude</ulink></para>
     
    8897    <title>Installation of Linux-PAM</title>
    8998
    90     <para>If you downloaded the documentation, unpack the tarball from the
    91     same top-level directory you unpacked the source tarball from. The files
    92     will unpack into the correct directories of the source tree.</para>
     99    <para>If you downloaded the documentation, unpack the tarball by issuing
     100    the following command.</para>
     101
     102<screen><userinput>tar xf ../Linux-PAM-&linux-pam-version;.tar.bz2 --strip-components=1</userinput></screen>
    93103
    94104    <para>Install <application>Linux-PAM</application> by
    95105    running the following commands:</para>
    96106
    97 <screen><userinput>./configure --libdir=/lib \
    98             --sbindir=/lib/security \
    99             --enable-securedir=/lib/security \
     107<screen><userinput>./configure --sbindir=/lib/security \
    100108            --docdir=/usr/share/doc/Linux-PAM-&linux-pam-version; \
    101             --enable-read-both-confs \
    102             --with-xauth=/usr/X11R6/bin/xauth &amp;&amp;
     109            --enable-read-both-confs &amp;&amp;
    103110make</userinput></screen>
    104111
    105     <!-- <para>To test the results, issue <command>make check</command>.</para> -->
    106 
    107     <para>The test suite will not provide meaningful results until the package
    108     has been installed and minimally configured. If, after installing the
    109     package and creating a minimum configuration as shown below in the 'other'
    110     example, you wish to run the tests, issue
    111     <command>make check</command>.</para>
    112 
    113     <!-- <tip>
    114       <para>Don't delete the <application>Linux-PAM</application> source tree
    115       until after you reinstall the <application>Shadow</application> package.
    116       The reinstallation of the Shadow package includes much more stringent
    117       security for the PAM configuration, and you can run the
    118       <application>Linux-PAM</application> test suite after completing the
    119       <application>Shadow</application> instructions to test the new setup. All
    120       the tests should pass.</para>
    121     </tip> -->
     112    <para>To test the results, a configuration file must be created. This file
     113    will be removed after the tests have completed. Ensure there are no errors
     114    produced by the tests before continuing the installation. First create the
     115    configuration file by issuing the following commands as the
     116    <systemitem class="username">root</systemitem> user:</para>
     117
     118<screen role="root"><userinput>install -v -m755 -d /etc/pam.d &amp;&amp;
     119
     120cat &gt; /etc/pam.d/other &lt;&lt; "EOF"
     121auth     required       pam_deny.so
     122account  required       pam_deny.so
     123password required       pam_deny.so
     124session  required       pam_deny.so
     125EOF</userinput></screen>
     126
     127    <para>Now run the tests by issuing <command>make check</command>.</para>
     128
     129    <para>Remove the configuration file created earlier by issuing the
     130    following command as the
     131    <systemitem class="username">root</systemitem> user:</para>
     132
     133<screen role="root"><userinput>rm -rfv /etc/pam.d</userinput></screen>
    122134
    123135    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    138150fi</userinput></screen>
    139151
    140     <!-- <para>If you downloaded the documentation, install it using the following
    141     command:</para>
    142 
    143 <screen role="root"><userinput>for DOCTYPE in html pdf ps txts
    144 do
    145     cp -v -R doc/$DOCTYPE /usr/share/doc/Linux-PAM-&linux-pam-version;
    146 done</userinput></screen> -->
    147 
    148152  </sect2>
    149153
     
    151155    <title>Command Explanations</title>
    152156
    153     <para><parameter>--libdir=/lib</parameter>: This parameter results in
    154     the libraries being installed in
    155     <filename class='directory'>/lib</filename> as they may be required in
    156     single-user mode.</para>
    157 
    158157    <para><parameter>--sbindir=/lib/security</parameter>: This parameter
    159     results in two executables, one of which is not intended to be run from the
    160     command line, being installed in the same directory as the PAM modules.
     158    results in three executables, two of which are not intended to be run from
     159    the command line, being installed in the same directory as the PAM modules.
    161160    The other executable is later moved to the
    162161    <filename class='directory'>/sbin</filename> directory.</para>
    163 
    164     <para><parameter>--enable-securedir=/lib/security</parameter>: This
    165     parameter results in the PAM modules being installed in
    166     <filename class='directory'>/lib/security</filename>.</para>
    167162
    168163    <para><parameter>--docdir=...</parameter>: This parameter results in
     
    173168    use.</para>
    174169
    175     <para><parameter>--with-xauth=/usr/X11R6/bin/xauth</parameter>: This
     170    <!-- This appears unnecessary as the xauth module is created even if X
     171         has not yet been installed.
     172    <para><parameter>-with-xauth=/usr/X11R6/bin/xauth</parameter>: This
    176173    parameter forces the build of the pam_xauth module, even if xauth is not
    177174    yet installed.  Omit this switch if you have no plans to build
    178175    <application>Xorg</application>, or modify the path if you intend to
    179     install <application>Xorg</application> into a non-standard path.</para>
     176    install <application>Xorg</application> into a non-standard path.</para> -->
    180177
    181178    <para><command>chmod -v 4755 /lib/security/unix_chkpwd</command>:
     
    266263      <para>Refer to <ulink
    267264      url="http://www.kernel.org/pub/linux/libs/pam/modules.html"/>
    268       for a list of various modules available.</para>
     265      for a list of various third-party modules available.</para>
    269266
    270267      <important>
     
    287284      <seglistitem>
    288285        <seg>pam_tally</seg>
    289         <seg>libpam.{so,a}, libpamc.{so,a}, and libpam_misc.{so,a}</seg>
    290         <seg>/etc/pam.d, /etc/security, /lib/security and
    291         /usr/include/security</seg>
     286        <seg>libpam.{so,a}, libpamc.{so,a}, libpam_misc.{so,a} and
     287        numerous PAM modules</seg>
     288        <seg>/etc/pam.d, /etc/security, /lib/security,
     289        /usr/include/security, /usr/share/doc/Linux-PAM-&linux-pam-version;
     290        and /var/run/sepermit</seg>
    292291      </seglistitem>
    293292    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.