Check: SOL-11.1-070090
Solaris 11 x86 STIG:
SOL-11.1-070090
(in versions v2 r10 through v1 r10)
Title
All home directories must be owned by the respective user assigned to it in /etc/passwd. (Cat II impact)
Discussion
Since the user is accountable for files stored in the user's home directory, the user must be the owner of the directory.
Check Content
The root role is required. Check that home directories are owned by the correct user. # export IFS=":"; logins -uxo | while read user uid group gid gecos home rest; do result=$(find ${home} -type d -prune \! -user $user -print 2>/dev/null); if [ ! -z "${result}" ]; then echo "User: ${user}\tOwner: $(ls -ld $home | awk '{ print $3 }')"; fi; done If any output is produced, this is a finding.
Fix Text
The root role is required. Correct the owner of any directory that does not match the password file entry for that user. # chown [user] [home directory]
Additional Identifiers
Rule ID: SV-216188r603268_rule
Vulnerability ID: V-216188
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |