All interactive user home directories must be group-owned by the home directory owner's primary group.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN001520

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-38491r1_rule All interactive user home directories must be group-owned by the home directory owner's primary group.

Vulnerability discussion

If the GID of the home directory is not the same as the GID of the user, this would allow unauthorized access to files.

Check content

Check the group ownership for each user in the /etc/passwd file. Procedure: # ls -lLd OR # ls -lLd `cat /etc/passwd | cut -f 6,6 -d ":"` | more If any user home directory is not group-owned by the assigned user's primary group, this is a finding. Home directories for application accounts requiring different group ownership must be documented using site-defined procedures.

Fix text

Change the group-owner for user home directories to the primary group of the assigned user. Procedure: # chgrp groupname directoryname (Replace examples with appropriate group and home directory.) Document all changes.

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