STIGUI
V-269399CAT I — High severitySV-269399r1050282_rule

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

Rule version ALMA-09-037310 · STIG v1 · 2026-08-25

Discussion

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.

Check

Verify the user and group account administration utilities are configured to store only encrypted representations of passwords with the following command:

$ grep crypt_style /etc/libuser.conf 

crypt_style = sha512

If the "crypt_style" variable is not set to "sha512", is not in the defaults section, is commented out, or does not exist, this is a finding.

Fix

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

Identifiers

Group ID
V-269399
Group title
SRG-OS-000073-GPOS-00041
Rule ID
SV-269399r1050282_rule
Check ID
C-73430r1048573_chk
Fix ID
F-73331r1049633_fix