Check: GEN001400
Solaris 10 SPARC STIG:
GEN001400
(in versions v2 r4 through v1 r19)
Title
The /etc/shadow (or equivalent) file must be owned by root. (Cat II impact)
Discussion
The /etc/shadow file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification. Failure to give ownership of sensitive files or utilities to root provides the designated owner and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.
Check Content
Check the ownership of the /etc/shadow file. # ls -lL /etc/shadow If the /etc/shadow file is not owned by root, this is a finding.
Fix Text
Change the ownership of the /etc/shadow file. # chown root /etc/shadow
Additional Identifiers
Rule ID: SV-226522r854413_rule
Vulnerability ID: V-226522
Group Title: SRG-OS-000312
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002165 |
The information system enforces organization-defined discretionary access control policies over defined subjects and objects. |
Controls
Number | Title |
---|---|
AC-3 (4) |
Discretionary Access Control |