Check: GEN001520
HP-UX 11.31 STIG:
GEN001520
(in versions v1 r19 through v1 r13)
Title
All interactive user home directories must be group-owned by the home directory owner's primary group. (Cat II impact)
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 <user home directory> 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.
Additional Identifiers
Rule ID: SV-38491r1_rule
Vulnerability ID: V-903
Group Title: GEN001520
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 |