Skip to content

Verify User Who Owns /etc/sudoers File

An XCCDF Rule

Description

To properly set the owner of /etc/sudoers, run the command:

$ sudo chown root /etc/sudoers 

Rationale

The ownership of the /etc/sudoers file by the root user is important because this file hosts sudo configuration. Protection of this file is critical for system security. Assigning the ownership to root ensures exclusive control of the sudo configuration.

ID
xccdf_org.ssgproject.content_rule_file_owner_etc_sudoers
Severity
Medium
References
Updated