SV-271628r1208725_rule
V-271628
SRG-OS-000073-GPOS-00041
OL09-00-001080
CAT II
10
Lock all interactive user accounts not using SHA-512 hashing until the passwords can be regenerated with SHA-512.
To lock an account:
$ sudo passwd -l [username]
Verify that OL 9 interactive user account passwords are using a strong password hash with the following command:
$ sudo cut -d: -f1,2 /etc/shadow
nsauser:$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/
Password hashes "!" or "*" indicate inactive accounts not available for logon and are not evaluated.
If any interactive user password hash does not begin with "$6", this is a finding.
V-271628
False
OL09-00-001080
Verify that OL 9 interactive user account passwords are using a strong password hash with the following command:
$ sudo cut -d: -f1,2 /etc/shadow
nsauser:$6$kcOnRq/5$NUEYPuyL.wghQwWssXRcLRFiiru7f5JPV6GaJhNC2aK5F3PZpE/BCCtwrxRc/AInKMNX3CdMw11m9STiql12f/
Password hashes "!" or "*" indicate inactive accounts not available for logon and are not evaluated.
If any interactive user password hash does not begin with "$6", this is a finding.
M
5680