- Timestamp:
- 07/21/2004 06:15:37 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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:
- 620a57e
- Parents:
- 8abd5653
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/shadow.xml
r8abd5653 r39975e9 65 65 --enable-shared --with-libpam --without-libcrack && 66 66 echo '#define HAVE_SETLOCALE 1' >> config.h && 67 sed -i '/extern char/d' libmisc/xmalloc.c && 67 68 make && 68 69 make install && 69 70 mv /bin/sg /usr/bin && 70 71 mv /bin/vigr /usr/sbin && 72 mv /usr/bin/passwd /bin && 71 73 rm /bin/groups && 72 74 mv /usr/lib/lib{misc,shadow}.so.0* /lib && … … 84 86 <application>Linux-<acronym>PAM</acronym></application> already contains 85 87 <filename class='libraryfile'>libcrack</filename>.</para> 88 89 <para><command>sed -i '/extern char/d' libmisc/xmalloc.c</command>: This 90 fixes a compilation problem when using <application>GCC</application>-3.4.x. 91 </para> 86 92 87 93 <!-- Leftover from older instructions???? … … 179 185 180 186 # End /etc/pam.d/chage 187 <command>EOF</command></userinput></screen> 188 189 <note><para>If you've installed <application>cracklib</application>, replace 190 <filename>/etc/pam.d/passwd</filename> with the following:</para></note> 191 <screen><userinput><command>cat > /etc/pam.d/passwd << "EOF"</command> 192 # Begin /etc/pam.d/passwd 193 194 password required pam_cracklib.so \ 195 retry=3 difok=8 minlen=5 dcredit=3 ocredit=3 ucredit=2 lcredit=2 196 password required pam_unix.so md5 shadow use_authtok 197 198 # End /etc/pam.d/passwd 181 199 <command>EOF</command></userinput></screen> 182 200 … … 215 233 216 234 <para>This stops <command>login</command> from performing these functions, as 217 they will now be performed by <acronym>PAM</acronym> modules.</para> 235 they will now be performed by <acronym>PAM</acronym> modules. Additionally, 236 add a '#' to the beginning of the following lines if you've installed 237 <application>cracklib</application>:</para> 238 <screen>OBSCURE_CHECKS_ENAB 239 CRACKLIB_DICTPATH 240 PASS_CHANGE_TRIES 241 PASS_ALWAYS_WARN</screen> 218 242 219 243 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.