Changeset d8684cbc


Ignore:
Timestamp:
11/29/2005 04:27:40 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, 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:
90bc173
Parents:
5caa3a2
Message:

Updated to Shadow-4.0.13

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r5caa3a2 rd8684cbc  
    3838<!ENTITY cracklib-version             "2.8.6">
    3939<!ENTITY linux-pam-version            "0.99.2.0">
    40 <!ENTITY shadow-version               "4.0.12">
     40<!ENTITY shadow-version               "4.0.13">
    4141<!ENTITY iptables-version             "1.3.3">
    4242<!ENTITY gnupg-version                "1.4.2">
  • introduction/welcome/changelog.xml

    r5caa3a2 rd8684cbc  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[randy] - Updated to Shadow-4.0.13.</para>
     49        </listitem>
     50        <listitem>
    4851          <para>[randy] - Updated to Linux-PAM-0.99.2.0. Note that many of
    4952          the installation commands have changed.</para>
  • postlfs/security/shadow.xml

    r5caa3a2 rd8684cbc  
    77  <!ENTITY shadow-download-http "http://ftp.pld.org.pl/software/shadow/shadow-&shadow-version;.tar.bz2">
    88  <!ENTITY shadow-download-ftp  "ftp://ftp.pld.org.pl/software/shadow/shadow-&shadow-version;.tar.bz2">
    9   <!ENTITY shadow-md5sum        "609a417a45827c36ba6e33f9dc785371">
     9  <!ENTITY shadow-md5sum        "5c6a105d89afb0900922260e9c5650cc">
    1010  <!ENTITY shadow-size          "1.0 MB">
    11   <!ENTITY shadow-buildsize     "13.4 MB">
     11  <!ENTITY shadow-buildsize     "13.6 MB">
    1212  <!ENTITY shadow-time          "0.3 SBU">
    1313]>
     
    3232    <para><application>Shadow</application> was indeed installed in LFS and
    3333    there is no reason to reinstall it unless you installed
    34     <application>Linux-PAM</application>. If you did, this will allow programs
    35     like <command>login</command> and <command>su</command> to utilize
    36     PAM.</para>
     34    <application>Linux-PAM</application>. If you did install
     35    <application>Linux-PAM</application>, reinstalling
     36    <application>Shadow</application> will allow programs such as
     37    <command>login</command> and <command>su</command> to utilize PAM.</para>
    3738
    3839    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    5859    </itemizedlist>
    5960
    60 <!--
    6161    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6262    <itemizedlist spacing='compact'>
    6363      <listitem>
    64         <para>Patch to fix several invalid warning messages when used with
    65         <application>Linux-PAM</application>: <ulink
    66         url="&patch-root;/shadow-&shadow-version;-Linux_PAM_fixes-1.patch"/></para>
     64        <para>Required patch: <ulink
     65        url="&patch-root;/shadow-&shadow-version;-configure_fix-1.patch"/></para>
    6766      </listitem>
    6867    </itemizedlist>
    69 -->
    7068
    7169    <bridgehead renderas="sect3">Shadow Dependencies</bridgehead>
     
    8179    <para>Reinstall <application>Shadow</application> by running the following
    8280    commands:</para>
    83 
    84 <!--
    85 <screen><userinput>patch -Np1 -i ../shadow-&shadow-version;-Linux_PAM_fixes-1.patch &amp;&amp;
    86 <-->
    8781
    8882<screen><userinput>./configure --libdir=/lib --enable-shared \
    8983    --with-libpam --without-libcrack &amp;&amp;
    9084sed -i 's/groups$(EXEEXT) //' src/Makefile &amp;&amp;
    91 sed -i '/groups/d' man/Makefile &amp;&amp;
     85find man -name Makefile -exec sed -i '/groups/d' &amp;&amp;
    9286make</userinput></screen>
    9387
     
    110104    <application>Shadow</application> not to use
    111105    <filename class='libraryfile'>libcrack</filename>. This is desired as
    112     <application>Linux-PAM</application> already contains
    113     <filename class='libraryfile'>libcrack</filename>.</para>
    114 
    115     <para><parameter>--enable-shadowgrp</parameter>: This version of
    116     <application>Shadow</application> defaults to not enabling
    117     its group functionality, which causes <command>grpconv</command> to
    118     fail.</para>
     106    <application>Linux-PAM</application> will provide
     107    <filename class='libraryfile'>libcrack</filename> functionality.</para>
    119108
    120109    <para><command>sed -i ...</command>: These commands are used to suppress
    121     the installation of the <command>groups</command> program as the version
    122     from the <application>Coreutils</application> package installed during
    123     LFS is preferred.</para>
     110    the installation of the <command>groups</command> program and man pages
     111    as the version from the <application>Coreutils</application> package
     112    installed during LFS is preferred.</para>
    124113
    125114  </sect2>
     
    165154        stop <command>login</command> from performing these functions (a backup
    166155        file named <filename>/etc/login.defs.orig</filename> is also created
    167         to preserve the original file's contents):</para>
     156        to preserve the original file's contents). Issue the following commands
     157        as the <systemitem class="username">root</systemitem> user:</para>
    168158
    169159        <indexterm zone="shadow pam-login-defs">
     
    181171                CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE
    182172do
    183     sed -i -e "s/^$FUNCTION/# &amp;/" /etc/login.defs
     173    sed -i "s/^$FUNCTION/# &amp;/" /etc/login.defs
    184174done</userinput></screen>
    185175
    186176        <para>If you have <application>CrackLib</application> installed,
    187         also comment out four more lines using the following command:</para>
     177        also comment out four more lines using the following command as the
     178        <systemitem class="username">root</systemitem> user:</para>
    188179
    189180<screen role="root"><userinput>for FUNCTION in OBSCURE_CHECKS_ENAB CRACKLIB_DICTPATH \
    190181                PASS_CHANGE_TRIES PASS_ALWAYS_WARN
    191182do
    192     sed -i -e "s/^$FUNCTION/# &amp;/" /etc/login.defs
     183    sed -i "s/^$FUNCTION/# &amp;/" /etc/login.defs
    193184done</userinput></screen>
    194185
     
    201192        files to <filename class="directory">/etc/pam.d/</filename> (or add them
    202193        to <filename>/etc/pam.conf</filename> with the additional field for
    203         the program).</para>
     194        the program). Issue the commands as the
     195        <systemitem class="username">root</systemitem> user:</para>
    204196
    205197      </sect4>
     
    328320do
    329321    install -v -m644 /etc/pam.d/chage /etc/pam.d/$PROGRAM
    330     sed -i -e "s/chage/$PROGRAM/" /etc/pam.d/$PROGRAM
     322    sed -i "s/chage/$PROGRAM/" /etc/pam.d/$PROGRAM
    331323done</userinput></screen>
    332324
     
    417409      </sect4>
    418410
    419 
    420411      <sect4 id="pam-env">
    421412        <title>Configuring Default Environment</title>
     
    429420          commands:</para>
    430421
    431 <screen><userinput><command>ENV_PATH=`grep '^ENV_PATH' /etc/login.defs.orig | \
     422<screen role="root"><userinput>ENV_PATH=`grep '^ENV_PATH' /etc/login.defs.orig | \
    432423    awk '{ print $2 }' | sed 's/PATH=//'` &amp;&amp;
    433 echo 'PATH        DEFAULT='`echo "${ENV_PATH}"`'        OVERRIDE=${PATH}' \
     424echo 'PATH        DEFAULT='`echo "${ENV_PATH}"`\
     425'        OVERRIDE=${PATH}' \
    434426    >> /etc/security/pam_env.conf &amp;&amp;
    435 unset ENV_PATH</command></userinput></screen>
    436 
    437           <note><para>ENV_SUPATH is no longer supported.  You must create
    438           a valid <filename>/root/.bashrc</filename> file to provide a
    439           modified path for the super-user.</para></note>
     427unset ENV_PATH</userinput></screen>
     428
     429          <note>
     430            <para>ENV_SUPATH is no longer supported.  You must create
     431            a valid <filename>/root/.bashrc</filename> file to provide a
     432            modified path for the super-user.</para>
     433          </note>
    440434
    441435      </sect4>
Note: See TracChangeset for help on using the changeset viewer.