{"description": "Configure the operating system to prevent direct logins to the\n<tt>root</tt> account by performing the following operations:\n<pre>$ sudo passwd -l root</pre>", "rationale": "Disabling direct root logins ensures proper accountability and\nmultifactor authentication to privileged accounts.", "severity": "medium", "references": {"srg": ["SRG-OS-000109-GPOS-00056"], "stigid": ["UBTU-22-411010"], "stigref": ["SV-260542r1015006_rule"]}, "control_references": {"stigid": ["UBTU-22-411010"]}, "components": [], "identifiers": {}, "ocil_clause": "the output does not contain \"L\" in the second field", "ocil": "Verify the operating system prevents direct logins to the root account\nwith the following command:\n<pre>$ sudo passwd -S root\nroot L 04/23/2020 0 99999 7 -1</pre>\nIf the output does not contain \"L\" in the second field to indicate the\naccount is locked, then run the following command:\n<pre>$ sudo passwd -l root</pre>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Direct root Logins Are Not Allowed", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-restrictions/root_logins/prevent_direct_root_logins/rule.yml", "template": null}