UCF STIG Viewer Logo

The /etc/gshadow file must have mode 0400.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22343 GEN000000-LNX001433 SV-37170r1_rule ECLP-1 Medium
Description
The /etc/gshadow file is critical to system security and must be protected from unauthorized modification. The /etc/gshadow file contains a list of system groups and hashes for group passwords.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-35875r1_chk )
Check the mode of the /etc/gshadow file.
# ls -l /etc/gshadow
If the file mode is more permissive than 0400, this is a finding.
Fix Text (F-31130r1_fix)
Change the mode of the /etc/gshadow file to 0400 or less permissive.
# chmod 0400 /etc/gshadow