Rule ID
SV-45134r1_rule
Version
V1R12
CCIs
If the skeleton files are not protected, unauthorized personnel could change user startup parameters and possibly jeopardize user files.
Check skeleton files for extended ACLs: # ls -alL /etc/skel. If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Remove the extended ACL from the file.
# setfacl --remove-all [skeleton file with extended ACL]
or:
# ls -lL /etc/skel|grep "\+ "|awk ‘{print “/etc/skel/”$9}’|xargs setfacl --remove-all
will remove all ACLs from the files.