All interactive user home directories must be owned by their respective users.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN001500

Associated with: CCI-000225

SV-64589r1_rule All interactive user home directories must be owned by their respective users.

Vulnerability discussion

If users do not own their home directories, unauthorized users could access user files.

Check content

Check the ownership of each user home directory listed in the /etc/passwd file. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld If any user home directory is not owned by the assigned user, this is a finding.

Fix text

Change the owner of a user's home directory to its assigned user. Procedure: # chown

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