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 (or equivalent) must be group-owned by root, bin, sys, or system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22339 GEN001410 SV-26437r1_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
UNIX SRG 2013-03-26

Details

Check Text ( C-27511r1_chk )
Check the ownership of the /etc/shadow file.

Procedure:
# ls -lL /etc/shadow

If the file is not group-owned by root, bin, sys, or system, this is a finding.
Fix Text (F-23627r1_fix)
Change the group owner of the /etc/shadow file.

Procedure:
# chgrp root /etc/shadow