Check: GEN001830
SUSE Linux Enterprise Server v11 for System z STIG:
GEN001830
(in versions v1 r12 through v1 r9)
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: # ls -alL /etc/skel 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, bin or sys. Procedure: # chgrp <group> /etc/skel/<skeleton file> or: # cd /etc/skel # ls -L /etc/skel|xargs stat -L -c %G:%n|egrep -v "^(root|bin|sys):"|cut -d: -f2|xargs chgrp root will change the group of all files not already in one of the approved groups to root.
Additional Identifiers
Rule ID: SV-45139r2_rule
Vulnerability ID: V-22358
Group Title: GEN001830
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 |