Changeset 62066a54
- Timestamp:
- 12/25/2018 01:15:21 AM (6 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 8.4, 9.0, 9.1, bdubbs/svn, gimp3, 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, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a5660ad
- Parents:
- e7594ad
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
re7594ad r62066a54 1 1 <!-- $LastChangedBy$ $Date$ --> 2 2 3 <!ENTITY day "2 3"> <!-- Always 2 digits -->3 <!ENTITY day "25"> <!-- Always 2 digits --> 4 4 <!ENTITY month "12"> <!-- Always 2 digits --> 5 5 <!ENTITY year "2018"> … … 7 7 <!ENTITY copyholder "The BLFS Development Team"> 8 8 <!ENTITY version "&year;-&month;-&day;"> 9 <!ENTITY releasedate "December 2 3rd, &year;">9 <!ENTITY releasedate "December 25rd, &year;"> 10 10 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 11 11 <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> -
introduction/welcome/changelog.xml
re7594ad r62066a54 43 43 --> 44 44 <listitem> 45 <para>December 25th, 2018</para> 46 <itemizedlist> 47 <listitem> 48 <para>[dj] - Update pam_cracklib configuration with modern options 49 and provide replacement configuration with pam_pwqaulity.</para> 50 </listitem> 51 </itemizedlist> 52 </listitem> 53 54 <listitem> 45 55 <para>December 23rd, 2018</para> 46 56 <itemizedlist> -
postlfs/security/libpwquality.xml
re7594ad r62066a54 114 114 </sect2> 115 115 116 <sect2 role="configuration"> 117 <title>Configuring Libpwquality</title> 118 119 <para> 120 <application>Libpwquality</application> is intended to be a 121 functional replacement for the <filename>pam_cracklib.so</filename> 122 module with additional options. To replace the 123 <filename>pam_cracklib.so</filename> module with the 124 <filename>pam_pwquality.so</filename> module, execute the following 125 commands as the <systemitem class="username">root</systemitem> user: 126 </para> 127 128 <screen role="root"><userinput>mv /etc/pam.d/system-password{,.orig} && 129 cat > /etc/pam.d/system-password << "EOF" 130 <literal># Begin /etc/pam.d/system-password 131 132 # check new passwords for strength (man pam_pwquality) 133 password required pam_pwquality.so authtok_type=UNIX retry=1 difok=1 \ 134 minlen=8 dcredit=0 ucredit=0 \ 135 lcredit=0 ocredit=0 minclass=1 \ 136 maxrepeat=0 maxsequence=0 \ 137 maxclassrepeat=0 geoscheck=0 \ 138 dictcheck=1 usercheck=1 \ 139 enforcing=1 badwords="" \ 140 dictpath=/lib/cracklib/pw_dict 141 # use sha512 hash for encryption, use shadow, and use the 142 # authentication token (chosen password) set by pam_pwquality 143 # above (or any previous modules) 144 password required pam_unix.so sha512 shadow use_authtok 145 146 # End /etc/pam.d/system-password</literal> 147 EOF 148 </userinput></screen> 149 150 </sect2> 151 116 152 <sect2 role="content"> 117 153 <title>Contents</title> -
postlfs/security/linux-pam.xml
re7594ad r62066a54 318 318 319 319 # check new passwords for strength (man pam_cracklib) 320 password required pam_cracklib.so type=Linux retry=3 difok=5 \ 321 difignore=23 minlen=9 dcredit=1 \ 322 ucredit=1 lcredit=1 ocredit=1 \ 323 dictpath=/lib/cracklib/pw_dict 320 password required pam_cracklib.so authtok_type=UNIX retry=1 difok=5 \ 321 minlen=9 dcredit=1 ucredit=1 \ 322 lcredit=1 ocredit=1 minclass=0 \ 323 maxrepeat=0 maxsequence0 \ 324 maxclassrepeat=0 \ 325 dictpath=/lib/cracklib/pw_dict 324 326 # use sha512 hash for encryption, use shadow, and use the 325 327 # authentication token (chosen password) set by pam_cracklib 326 328 # above (or any previous modules) 327 password required pam_unix.so sha512 shadow use_authtok329 password required pam_unix.so sha512 shadow use_authtok 328 330 329 331 # End /etc/pam.d/system-password</literal>
Note:
See TracChangeset
for help on using the changeset viewer.