Changeset 3619a5b9


Ignore:
Timestamp:
11/16/2022 04:15:52 PM (18 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:
7f27f7a
Parents:
ae27cdc
git-author:
Pierre Labastie <pierre.labastie@…> (11/16/2022 04:13:47 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (11/16/2022 04:15:52 PM)
Message:

Adjust the number of crypt rounds in PAM files

To match shadow's one.

Location:
postlfs/security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/libpwquality.xml

    rae27cdc r3619a5b9  
    169169# use sha512 hash for encryption, use shadow, and use the
    170170# authentication token (chosen password) set by pam_pwquality
    171 # above (or any previous modules)
    172 password  required    pam_unix.so        sha512 shadow use_authtok
     171# above (or any previous modules). Also set the number of crypt rounds
     172# to the value used in shadow.
     173password  required    pam_unix.so        sha512 shadow use_authtok \
     174                                         rounds=5000000
    173175
    174176# End /etc/pam.d/system-password</literal>
  • postlfs/security/linux-pam.xml

    rae27cdc r3619a5b9  
    348348# use sha512 hash for encryption, use shadow, and try to use any previously
    349349# defined authentication token (chosen password) set by any prior module
    350 password  required    pam_unix.so       sha512 shadow try_first_pass
     350# Use the same number of rounds as shadow.
     351password  required    pam_unix.so       sha512 shadow try_first_pass \
     352                                        rounds=5000000
    351353
    352354# End /etc/pam.d/system-password</literal>
     
    368370     is built in, and the PAM module is built.
    369371-->
    370 <!--
     372<!-- WARNING: If for any reason the instructions below are reinstated be
     373     careful with the number of rounds, which should match the one in shadow.
    371374      <para>
    372375        The remaining generic file depends on whether <xref
Note: See TracChangeset for help on using the changeset viewer.