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/shadow file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22340 GEN001430 SV-37371r1_rule ECLP-1 Medium
Description
The /etc/shadow file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification. The file also contains password hashes which must not be accessible to users other than root.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2013-04-10

Details

Check Text ( C-36058r1_chk )
Verify /etc/shadow has no extended ACL.
# ls -l /etc/shadow
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-31303r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all /etc/shadow