Check: GEN001820
SUSE Linux Enterprise Server v11 for System z STIG:
GEN001820
(in versions v1 r12 through v1 r9)
Title
All skeleton files and directories (typically in /etc/skel) must be owned by root or 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 root or 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. # ls -alL /etc/skel If a skeleton file is not owned by root or bin, this is a finding.
Fix Text
Change the ownership of skeleton files with incorrect mode: # chown root <skeleton file> or # ls -L /etc/skel| awk '{ print "/etc/skel/"$1 }' |xargs stat -L -c %U:%n|egrep -v "^(root|bin):"|cut -d: -f2|xargs chown root will change all files not owned by root or bin to root.
Additional Identifiers
Rule ID: SV-45136r1_rule
Vulnerability ID: V-11984
Group Title: GEN001820
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 |