Ignore:
Timestamp:
01/01/2022 05:25:35 PM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f9b7052
Parents:
c365a72
Message:

Package Updates.
Update to iso-codes-4.8.0.
Update to libgsf-1.14.48.
Update to shadow-4.10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/shadow.xml

    rc365a72 r922e013  
    77  <!ENTITY shadow-download-http "https://github.com/shadow-maint/shadow/releases/download/v&shadow-version;/shadow-&shadow-version;.tar.xz">
    88  <!ENTITY shadow-download-ftp  " ">
    9   <!ENTITY shadow-md5sum        "126924090caf72f3de7e9261fd4e10ac">
     9  <!ENTITY shadow-md5sum        "3a7936a9d0834243816fe0977c3b956e">
    1010  <!ENTITY shadow-size          "1.6 MB">
    11   <!ENTITY shadow-buildsize     "40 MB">
    12   <!ENTITY shadow-time          "0.3 SBU">
     11  <!ENTITY shadow-buildsize     "38 MB">
     12  <!ENTITY shadow-time          "0.2 SBU">
    1313]>
    1414
     
    7777    </itemizedlist>
    7878
     79    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     80    <itemizedlist spacing="compact">
     81      <listitem>
     82        <para>
     83          Required patch:
     84          <ulink url="&patch-root;/shadow-&shadow-version;-useradd_segfault-1.patch"/>
     85        </para>
     86      </listitem>
     87    </itemizedlist>
     88
    7989    <bridgehead renderas="sect3">Shadow Dependencies</bridgehead>
    8090
     
    118128    </para>
    119129
    120 <screen><userinput>sed -i.orig '/$(LIBTCB)/i $(LIBPAM) \\' libsubid/Makefile.am &amp;&amp;
    121 sed -i "224s/rounds/min_rounds/"        libmisc/salt.c       &amp;&amp;
    122 
    123 autoreconf -fiv &amp;&amp;
    124 
    125 sed -i 's/groups$(EXEEXT) //' src/Makefile.in &amp;&amp;
     130<screen><userinput>patch -Np1 -i ../shadow-4.10--useradd_segfault-1.patch &amp;&amp;
     131
     132sed -i "224s/rounds/min_rounds/" libmisc/salt.c        &amp;&amp;
     133sed -i 's/groups$(EXEEXT) //' src/Makefile.in          &amp;&amp;
    126134
    127135find man -name Makefile.in -exec sed -i 's/groups\.1 / /'   {} \; &amp;&amp;
     
    135143
    136144./configure --sysconfdir=/etc               \
    137             --with-group-name-max-length=32 \
    138             --without-su                    &amp;&amp;
     145            --with-group-name-max-length=32 &amp;&amp;
    139146make</userinput></screen>
    140147
     
    198205      when <application>Linux-PAM</application> is available.
    199206    </para>
    200 
    201     <!-- No longer needed as of 4.8
    202     <para>
    203       <command>mv -v /usr/bin/passwd /bin</command>: The
    204       <command>passwd</command> program may be needed during times when the
    205       <filename class='directory'>/usr</filename> filesystem is not mounted so
    206       it is moved into the root partition.
    207     </para>
    208     -->
    209207
    210208  </sect2>
     
    419417
    420418# End /etc/pam.d/passwd</literal>
     419EOF</userinput></screen>
     420      </sect4>
     421
     422      <sect4>
     423        <title>'su'</title>
     424
     425<screen role="root"><userinput>cat &gt; /etc/pam.d/chage &lt;&lt; "EOF"
     426<literal># Begin /etc/pam.d/su
     427
     428# always allow root
     429auth      sufficient  pam_rootok.so
     430
     431# Allow users in the wheel group to execute su without a password
     432# disabled by default
     433#auth      sufficient  pam_wheel.so trust use_uid
     434
     435# include system auth settings
     436auth      include     system-auth
     437
     438# limit su to users in the wheel group
     439auth      required    pam_wheel.so use_uid
     440
     441# include system account settings
     442account   include     system-account
     443
     444# Set default environment variables for the service user
     445session   required    pam_env.so
     446
     447# include system session settings
     448session   include     system-session
     449
     450# End /etc/pam.d/su</literal>
    421451EOF</userinput></screen>
    422452      </sect4>
Note: See TracChangeset for help on using the changeset viewer.