SV-219168r610963_rule
V-219168
SRG-OS-000109-GPOS-00056
UBTU-18-010036
CAT II
10
Configure the Ubuntu operating system to prevent direct logins to the root account by performing the following operations:
sudo passwd -l root
Verify the Ubuntu operating system prevents direct logins to the root account.
Check that the Ubuntu operating system prevents direct logins to the root account with the following command:
# sudo passwd -S root
root L 11/11/2017 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-219168
False
UBTU-18-010036
Verify the Ubuntu operating system prevents direct logins to the root account.
Check that the Ubuntu operating system prevents direct logins to the root account with the following command:
# sudo passwd -S root
root L 11/11/2017 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
4055