ALMA-09-037310 - AlmaLinux OS 9 must be configured so that libuser is configured to store only encrypted representations of passwords.

Information

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.

Solution

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

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(d), CAT|I, CCI|CCI-004062, Rule-ID|SV-269399r1050282_rule, STIG-ID|ALMA-09-037310, Vuln-ID|V-269399

Plugin: Unix

Control ID: 2b9bc9e158e69a4543168e3375bfc673ea16c4ded5497668f32dc0fc173b044f