UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-22332 GEN001378 SV-64549r1_rule Medium
Description
The /etc/passwd file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52965r1_chk )
Verify the /etc/passwd file is owned by root.

# ls -l /etc/passwd

If the file is not owned by root, this is a finding.
Fix Text (F-55147r1_fix)
Change the owner of the /etc/passwd file to root.

# chown root /etc/passwd