SV-270714r1208699_rule
V-270714
SRG-OS-000480-GPOS-00227
UBTU-24-300028
CAT I
10
If an account is configured for password authentication but does not have an assigned password, it is possible to log on to the account without authenticating.
Remove any instances of the "nullok" option in "/etc/pam.d/common-password" and "/etc/pam.d/common-auth" to prevent logons with empty passwords.
To verify null passwords cannot be used, run the following command:
$ grep nullok /etc/pam.d/common-password /etc/pam.d/common-auth
If this produces any output, this is a finding.
V-270714
False
UBTU-24-300028
To verify null passwords cannot be used, run the following command:
$ grep nullok /etc/pam.d/common-password /etc/pam.d/common-auth
If this produces any output, this is a finding.
M
5673