Skip to content

Direct root Logins Are Not Allowed

An XCCDF Rule

Description

Configure the operating system to prevent direct logins to the root account by performing the following operations:

$ sudo passwd -l root

Rationale

Disabling direct root logins ensures proper accountability and multifactor authentication to privileged accounts.

ID
xccdf_org.ssgproject.content_rule_prevent_direct_root_logins
Severity
Medium
References
Updated