SV-270739r1067124_rule
V-270739
SRG-OS-000120-GPOS-00061
UBTU-24-400400
CAT II
10
Configure Ubuntu 24.04 LTS to encrypt all stored passwords.
Edit/modify the following line in the "/etc/login.defs" file and set "ENCRYPT_METHOD" to SHA512:
ENCRYPT_METHOD SHA512
Verify the shadow password suite configuration is set to encrypt passwords with a FIPS 140-3 approved cryptographic hashing algorithm with the following command:
$ grep -i ENCRYPT_METHOD /etc/login.defs
ENCRYPT_METHOD SHA512
If "ENCRYPT_METHOD" does not equal SHA512 or greater, this is a finding.
V-270739
False
UBTU-24-400400
Verify the shadow password suite configuration is set to encrypt passwords with a FIPS 140-3 approved cryptographic hashing algorithm with the following command:
$ grep -i ENCRYPT_METHOD /etc/login.defs
ENCRYPT_METHOD SHA512
If "ENCRYPT_METHOD" does not equal SHA512 or greater, this is a finding.
M
5673