UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/passwd file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22334 GEN001390 SV-37346r1_rule ECLP-1 Medium
Description
File system ACLs can provide access to files beyond what is allowed by the mode numbers of the files. 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
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2015-03-12

Details

Check Text ( C-36038r1_chk )
Verify /etc/passwd has no extended ACL.
# ls -l /etc/passwd
If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.

Fix Text (F-23614r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all /etc/passwd