SV-260542r1015006_rule
V-260542
SRG-OS-000109-GPOS-00056
UBTU-22-411010
CAT II
10
Configure Ubuntu 22.04 LTS to prevent direct logins to the root account by using the following command:
$ sudo passwd -l root
Verify Ubuntu 22.04 LTS prevents direct logins to the root account by using the following command:
$ sudo passwd -S root
root L 08/09/2022 0 99999 7 -1
If the output does not contain "L" in the second field to indicate the account is locked, this is a finding.
V-260542
False
UBTU-22-411010
Verify Ubuntu 22.04 LTS prevents direct logins to the root account by using the following command:
$ sudo passwd -S root
root L 08/09/2022 0 99999 7 -1
If the output does not contain "L" in the second field to indicate the account is locked, this is a finding.
M
5594