SV-261385r996586_rule
V-261385
SRG-OS-000073-GPOS-00041
SLEM-05-611050
CAT II
10
Configure SLEM 5 Linux PAM to only store encrypted representations of passwords. All account passwords must be hashed with SHA512 encryption strength.
Edit "/etc/pam.d/common-password" and edit the line containing "pam_unix.so" to contain the SHA512 keyword after third column. Remove the "nullok" option if it exists.
Verify SLEM 5 configures the Linux PAM to only store encrypted representations of passwords with the following command:
> grep pam_unix.so /etc/pam.d/common-password
password required pam_unix.so sha512
If the value "sha512" is not present in the line, the second column value is different from "requisite", the line is commented out, or the line is missing, this is a finding.
V-261385
False
SLEM-05-611050
Verify SLEM 5 configures the Linux PAM to only store encrypted representations of passwords with the following command:
> grep pam_unix.so /etc/pam.d/common-password
password required pam_unix.so sha512
If the value "sha512" is not present in the line, the second column value is different from "requisite", the line is commented out, or the line is missing, this is a finding.
M
5596