UCF STIG Viewer Logo

The /etc/shadow (or equivalent) file must have mode 0400.


Overview

Finding ID Version Rule ID IA Controls Severity
V-226524 GEN001420 SV-226524r603265_rule 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
Solaris 10 SPARC Security Technical Implementation Guide 2020-12-04

Details

Check Text ( C-28685r482960_chk )
Check the mode of the /etc/shadow file.
# ls -lL /etc/shadow
If the /etc/shadow file has a mode more permissive than 0400, this is a finding.
Fix Text (F-28673r482961_fix)
Change the mode of the /etc/shadow (or equivalent) file.
# chmod