Check: GEN001820
Title
All skeleton files and directories (typically in /etc/skel) must be owned by bin. (Cat II impact)
Discussion
If the skeleton files are not protected, unauthorized personnel could change user startup parameters and possibly jeopardize user files. Failure to give ownership of sensitive files or utilities to bin 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 skeleton files ownership. # find /etc/skel -name * ! -user bin -exec ls -alL {} \; 2>/dev/null If a skeleton file is not owned by bin, this is a finding.
Fix Text
Change the ownership of skeleton files with incorrect mode. # chown bin <skeleton file>
Additional Identifiers
Rule ID:
Vulnerability ID: V-11984
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 |