Changeset 922e013 for postlfs/security/shadow.xml
- Timestamp:
- 01/01/2022 05:25:35 PM (2 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/shadow.xml
rc365a72 r922e013 7 7 <!ENTITY shadow-download-http "https://github.com/shadow-maint/shadow/releases/download/v&shadow-version;/shadow-&shadow-version;.tar.xz"> 8 8 <!ENTITY shadow-download-ftp " "> 9 <!ENTITY shadow-md5sum " 126924090caf72f3de7e9261fd4e10ac">9 <!ENTITY shadow-md5sum "3a7936a9d0834243816fe0977c3b956e"> 10 10 <!ENTITY shadow-size "1.6 MB"> 11 <!ENTITY shadow-buildsize " 40MB">12 <!ENTITY shadow-time "0. 3SBU">11 <!ENTITY shadow-buildsize "38 MB"> 12 <!ENTITY shadow-time "0.2 SBU"> 13 13 ]> 14 14 … … 77 77 </itemizedlist> 78 78 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 79 89 <bridgehead renderas="sect3">Shadow Dependencies</bridgehead> 80 90 … … 118 128 </para> 119 129 120 <screen><userinput>sed -i.orig '/$(LIBTCB)/i $(LIBPAM) \\' libsubid/Makefile.am && 121 sed -i "224s/rounds/min_rounds/" libmisc/salt.c && 122 123 autoreconf -fiv && 124 125 sed -i 's/groups$(EXEEXT) //' src/Makefile.in && 130 <screen><userinput>patch -Np1 -i ../shadow-4.10--useradd_segfault-1.patch && 131 132 sed -i "224s/rounds/min_rounds/" libmisc/salt.c && 133 sed -i 's/groups$(EXEEXT) //' src/Makefile.in && 126 134 127 135 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; && … … 135 143 136 144 ./configure --sysconfdir=/etc \ 137 --with-group-name-max-length=32 \ 138 --without-su && 145 --with-group-name-max-length=32 && 139 146 make</userinput></screen> 140 147 … … 198 205 when <application>Linux-PAM</application> is available. 199 206 </para> 200 201 <!-- No longer needed as of 4.8202 <para>203 <command>mv -v /usr/bin/passwd /bin</command>: The204 <command>passwd</command> program may be needed during times when the205 <filename class='directory'>/usr</filename> filesystem is not mounted so206 it is moved into the root partition.207 </para>208 -->209 207 210 208 </sect2> … … 419 417 420 418 # End /etc/pam.d/passwd</literal> 419 EOF</userinput></screen> 420 </sect4> 421 422 <sect4> 423 <title>'su'</title> 424 425 <screen role="root"><userinput>cat > /etc/pam.d/chage << "EOF" 426 <literal># Begin /etc/pam.d/su 427 428 # always allow root 429 auth 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 436 auth include system-auth 437 438 # limit su to users in the wheel group 439 auth required pam_wheel.so use_uid 440 441 # include system account settings 442 account include system-account 443 444 # Set default environment variables for the service user 445 session required pam_env.so 446 447 # include system session settings 448 session include system-session 449 450 # End /etc/pam.d/su</literal> 421 451 EOF</userinput></screen> 422 452 </sect4>
Note:
See TracChangeset
for help on using the changeset viewer.