AlmaLinux OS 9 must be configured so that libuser is configured to store only encrypted representations of passwords.
An XCCDF Rule
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. The system must use a strong hashing algorithm to store the password.
- ID
- SV-269399r1050282_rule
- Version
- ALMA-09-037310
- Severity
- High
- References
- Updated
Remediation Templates
A Manual Procedure
Configure AlmaLinux OS 9 to use the SHA-512 algorithm for password hashing.
Add or change the following line in the "[defaults]" section of the "/etc/libuser.conf" file:
crypt_style = sha512