UCF STIG Viewer Logo

The /etc/shadow file (or equivalent) must be group-owned by root, bin, sys or other.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22339 GEN001410 SV-38340r2_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
HP-UX SMSE Security Technical Implementation Guide 2014-02-28

Details

Check Text ( C-36356r2_chk )
For Trusted Mode:
Check the TCB auth files and directories.
# ls -lLd /tcb /tcb/files /tcp/files/auth
# ls -lL /tcb/files/auth/[a-z,A-Z]/*

If the group-owner of any of the /tcb files and directories is not root, bin, sys, or other, this is a finding.

For SMSE:
Check the /etc/shadow file.
# ls -lL /etc/shadow

If the /etc/shadow file is not group-owned by root, bin, sys or other, this is a finding.
Fix Text (F-31655r2_fix)
For Trusted Mode:
# chgrp root /tcb
#chgrp root /tcb/files /tcb/files/auth
# chgrp root /tcb/files/auth/[a-z]/*

For SMSE:
# chgrp root /etc/shadow