All skeleton files (typically in /etc/skel) must be group-owned by root, bin, sys, system, or other.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN001830

Associated with: CCI-000225

SV-63323r1_rule All skeleton files (typically in /etc/skel) must be group-owned by root, bin, sys, system, or other.

Vulnerability 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. Procedure: # ls -alL /etc/skel If a skeleton file is not group-owned by root, bin, sys, system, or other this is a finding.

Fix text

Change the group-owner of the skeleton file to root, bin, sys, system, or other. Procedure: # chgrp /etc/skel/[skeleton file] or: # ls -L /etc/skel|xargs stat -L -c %G:%n|egrep -v "^(root|bin|sy|sytem|other):"|cut -d: -f2|chgrp root will change the group of all files not already one of the approved group to root.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer