Changeset 286cd58c


Ignore:
Timestamp:
02/07/2016 05:48:56 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
6ef90edf
Parents:
f2457995
Message:

Fix linux-pam-docs download and minor text fixups.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16914 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages.ent

    rf2457995 r286cd58c  
    2222<!ENTITY libpwquality-version         "1.3.0">
    2323<!ENTITY linux-pam-version            "1.2.1">
     24<!ENTITY linux-pam-docs-version       "1.2.0">
    2425<!ENTITY mitkrb-major-version         "1.14">
    2526<!ENTITY mitkrb-version               "&mitkrb-major-version;">
  • postlfs/security/linux-pam.xml

    rf2457995 r286cd58c  
    77  <!ENTITY linux-pam-download-http "http://linux-pam.org/library/Linux-PAM-&linux-pam-version;.tar.bz2">
    88  <!ENTITY linux-pam-download-ftp  " ">
    9   <!ENTITY linux-pam-md5sum        "9dc53067556d2dd567808fd509529dd6">
    10   <!ENTITY linux-pam-size          "1.2 MB">
    11   <!ENTITY linux-pam-buildsize     "32 MB">
    12   <!ENTITY linux-pam-time          "0.4 SBU">
    13 
    14   <!ENTITY linux-pam-docs-download "http://linux-pam.org/documentation/Linux-PAM-&linux-pam-version;-docs.tar.bz2">
     9  <!ENTITY linux-pam-md5sum        "9dc53067556d2dd567808fd509519dd6">
     10  <!ENTITY linux-pam-size          "1.3 MB">
     11  <!ENTITY linux-pam-buildsize     "33 MB (with tests)">
     12  <!ENTITY linux-pam-time          "0.3 SBU (with tests)">
     13
     14  <!ENTITY linux-pam-docs-download "http://linux-pam.org/documentation/Linux-PAM-&linux-pam-docs-version;-docs.tar.bz2">
    1515  <!ENTITY linux-pam-docs-md5sum   "558378b8be9b8b5c987326f4529f2130">
    1616  <!ENTITY linux-pam-docs-size     "480 KB">
     
    130130    </para>
    131131
    132 <screen><userinput>tar -xf ../Linux-PAM-&linux-pam-version;-docs.tar.bz2 --strip-components=1</userinput></screen>
     132<screen><userinput>tar -xf ../Linux-PAM-&linux-pam-docs-version;-docs.tar.bz2 --strip-components=1</userinput></screen>
    133133
    134134    <para>
     
    165165         <filename class="directory">/etc/security</filename> as well as
    166166         <filename>/etc/environment</filename>. In case you
    167          have modified those files, be sure to back them up.
     167         have modified those files, be sure to backup them.
    168168      </para>
    169169    </caution>
     
    175175    </para>
    176176
    177 <screen role="root"><userinput>install -v -dm755 /etc/pam.d &amp;&amp;
     177<screen role="root"><userinput>install -v -m755 -d /etc/pam.d &amp;&amp;
    178178
    179179cat &gt; /etc/pam.d/other &lt;&lt; "EOF"
    180 <literal>auth     required       pam_deny.so
     180auth     required       pam_deny.so
    181181account  required       pam_deny.so
    182182password required       pam_deny.so
    183 session  required       pam_deny.so</literal>
     183session  required       pam_deny.so
    184184EOF</userinput></screen>
    185185
     
    187187      Now run the tests by issuing <command>make check</command>.
    188188      Ensure there are no errors produced by the tests before continuing the
    189       installation.
     189      installation. Note that the checks are quite long.  It may be useful to
     190      redirect the output to a log file in order to inspect it thoroughly.
    190191    </para>
    191192
     
    196197    </para>
    197198
    198 <screen role="root"><userinput>rm -rfv /etc/pam.d</userinput></screen>
     199<screen role="root"><userinput>rm -fv /etc/pam.d/*</userinput></screen>
    199200
    200201    <para>
     
    273274      <para>Now set up some generic files.  As root:</para>
    274275
    275 <screen role="root"><userinput>install -v -dm755 /etc/pam.d
    276 
    277 cat &gt; /etc/pam.d/system-account &lt;&lt; "EOF"
     276<screen role="root"><userinput>cat &gt; /etc/pam.d/system-account &lt;&lt; "EOF"
    278277<literal># Begin /etc/pam.d/system-account
    279278
     
    299298EOF</userinput></screen>
    300299
    301     <para>The remaining generic file depends on whether <xref linkend="cracklib"/>
    302     is installed. If it is installed, issue:</para>
     300    <para>The remaining generic file depends on wheather <xref linkend="cracklib"/>
     301    is installed.  If it is installed, use:</para>
    303302
    304303<screen role="root"><userinput>cat &gt; /etc/pam.d/system-password &lt;&lt; "EOF"
     
    329328
    330329   <para>If <xref linkend="cracklib"/> is <emphasis>NOT</emphasis> installed,
    331    issue:</para>
     330   use:</para>
    332331
    333332<screen role="root"><userinput>cat &gt; /etc/pam.d/system-password &lt;&lt; "EOF"
     
    342341
    343342      <para>Now add a restrictive <filename>/etc/pam.d/other</filename>
    344       configuration file. With this file, PAM aware services can't be
    345       used unless a configuration file specifically for that service is
     343      configuration file.  With this file, programs that are PAM aware will not
     344      run unless a configuration file specifically for that application is
    346345      created.</para>
    347346
Note: See TracChangeset for help on using the changeset viewer.