AlmaLinux OS 9 PAM must be configured to use a sufficient number of password hashing rounds.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269398 | ALMA-09-037200 | SV-269398r1050281_rule | CCI-004062 | high |
| Description | ||||
| Passwords must 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. Using more hashing rounds makes password cracking attacks more difficult. | ||||
| STIG | Date | |||
| Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide | 2026-02-27 | |||
Related Frameworks
6 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
IA-5(1)
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1714 mappings
3.5.10
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.5.7
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.5.8
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.5.9
1.00
- DISA · V1R6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-004062
1.00
- DISA · V1R6 · disa_xccdf · related
Details
Check Text (C-269398r1050281_chk)
Verify the number of rounds for the password hashing algorithm is configured with the following command:
$ grep rounds /etc/pam.d/password-auth /etc/pam.d/system-auth
/etc/pam.d/password-auth:password sufficient pam_unix.so sha512 shadow rounds=100000 use_authtok
/etc/pam.d/system-auth:password sufficient pam_unix.so sha512 shadow rounds=100000 use_authtok
If a matching line is not returned in both files, or "rounds" is less than "100000", this a finding.
Add/modify the appropriate sections of the "/etc/pam.d/password-auth" file to match the following lines, ensuring that the "preauth" line is listed before pam_unix.so
Fix Text (F-73330r1049631_fix)
Configure AlmaLinux OS 9 to use at least 100000 hashing rounds for hashing passwords.
Add or modify the following line in "/etc/pam.d/password-auth" and "/etc/pam.d/system-auth" and set "rounds" to "100000" or higher:
password sufficient pam_unix.so sha512 rounds=100000