Changeset 024fb949


Ignore:
Timestamp:
11/25/2022 07:31:43 AM (17 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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/llvm18, xry111/xf86-video-removal
Children:
b3c16a78
Parents:
353fc67
Message:

Returns to a more reasonable value of rounds in shadow

Location:
postlfs/security
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/libpwquality.xml

    r353fc67 r024fb949  
    161161# to the value used in shadow.
    162162password  required    pam_unix.so        sha512 shadow use_authtok \
    163                                          rounds=5000000
     163                                         rounds=500000
    164164
    165165# End /etc/pam.d/system-password</literal>
  • postlfs/security/linux-pam.xml

    r353fc67 r024fb949  
    350350# Use the same number of rounds as shadow.
    351351password  required    pam_unix.so       sha512 shadow try_first_pass \
    352                                         rounds=5000000
     352                                        rounds=500000
    353353
    354354# End /etc/pam.d/system-password</literal>
  • postlfs/security/shadow.xml

    r353fc67 r024fb949  
    139139
    140140sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
    141     -e 's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\1000@'      \
     141    -e 's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\100@'      \
    142142    -e 's@/var/spool/mail@/var/mail@'                 \
    143143    -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                \
     
    189189    <para>
    190190      <command>sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' -e
    191         's@#SHA_CRYPT_..._ROUNDS 5000@&amp;000@' -e
     191        's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\100@' -e
    192192        's@/var/spool/mail@/var/mail@' -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'
    193193        -i etc/login.defs</command>: Instead of using the default 'DES'
Note: See TracChangeset for help on using the changeset viewer.