SV-260569r1101736_rule
V-260569
SRG-OS-000073-GPOS-00041
UBTU-22-611055
CAT II
10
Configure Ubuntu 22.04 LTS to store encrypted representations of passwords.
Add or modify the following line in the "/etc/pam.d/common-password" file:
password [success=1 default=ignore] pam_unix.so obscure sha512 shadow rounds=100000
Verify the Ubuntu operating stores only encrypted representations of passwords with the following command:
$ grep pam_unix.so /etc/pam.d/common-password
password [success=1 default=ignore] pam_unix.so obscure sha512 shadow rounds=100000
If "sha512" is missing from the "pam_unix.so" line, or if the "rounds" is set to less than 100000, this is a finding.
V-260569
False
UBTU-22-611055
Verify the Ubuntu operating stores only encrypted representations of passwords with the following command:
$ grep pam_unix.so /etc/pam.d/common-password
password [success=1 default=ignore] pam_unix.so obscure sha512 shadow rounds=100000
If "sha512" is missing from the "pam_unix.so" line, or if the "rounds" is set to less than 100000, this is a finding.
M
5594