UCF STIG Viewer Logo

The /etc/passwd file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-208816 OL6-00-000039 SV-208816r793601_rule Medium
Description
The "/etc/passwd" file contains information about the users that are configured on the system. Protection of this file is critical for system security.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-12-03

Details

Check Text ( C-9069r357428_chk )
To check the ownership of "/etc/passwd", run the command:

$ ls -l /etc/passwd

If properly configured, the output should indicate the following owner: "root"
If it does not, this is a finding.
Fix Text (F-9069r357429_fix)
To properly set the owner of "/etc/passwd", run the command:

# chown root /etc/passwd