SV-270724r1066661_rule
V-270724
SRG-OS-000109-GPOS-00056
UBTU-24-400110
CAT II
10
Configure Ubuntu 24.04 LTS to prevent direct logins to the root account by performing the following operations:
$ sudo passwd -l root
Verify Ubuntu 24.04 LTS prevents direct logins to the root account with the following command:
$ sudo passwd -S root
root L 04/08/2024 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-270724
False
UBTU-24-400110
Verify Ubuntu 24.04 LTS prevents direct logins to the root account with the following command:
$ sudo passwd -S root
root L 04/08/2024 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
5673