Check: GEN001830
Title
All skeleton files (typically in /etc/skel) must be group-owned by root, bin, or sys. (Cat II impact)
Discussion
If the skeleton files are not protected, unauthorized personnel could change user startup parameters and possibly jeopardize user files.
Check Content
Verify the skeleton files are group-owned by root, bin, or sys. Procedure: # find /etc/skel -name * ! -group root -a ! -group bin -a ! -group sys -exec ls -alL {} \; 2>/dev/null If a skeleton file is not group-owned by root, bin, or sys, this is a finding.
Fix Text
Change the group owner of the skeleton file to root. Procedure: # chgrp <group> /etc/skel/[skeleton file]
Additional Identifiers
Rule ID:
Vulnerability ID: V-22358
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |