RHEL-09-611050 - RHEL 9 password-auth must be configured to use a sufficient number of hashing rounds.

Information

Passwords need to be protected at all times, and encryption is the standard method for protecting passwords. If passwords are not encrypted, they can be plainly read (i.e., clear text) and easily compromised. Passwords that are encrypted with a weak algorithm are no more protected than if they are kept in plain text.

Using more hashing rounds makes password cracking attacks more difficult.

Satisfies: SRG-OS-000073-GPOS-00041, SRG-OS-000120-GPOS-00061

Solution

Configure Red Hat Enterprise Linux 9 to use 5000 hashing rounds for hashing passwords.

Add or modify the following line in '/etc/pam.d/password-auth' and set 'rounds' to '5000'.

password sufficient pam_unix.so sha512 rounds=5000

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), 800-53|IA-7, CAT|II, CCI|CCI-000196, CCI|CCI-000803, CCI|CCI-004062, Rule-ID|SV-258099r1015099_rule, STIG-ID|RHEL-09-611050, Vuln-ID|V-258099

Plugin: Unix

Control ID: 8a4d65f05c5d108516a0a2d328e8e2db7101da9e5451bb5143d5710e93e934f4