Check: GEN001480
HP-UX 11.31 STIG:
GEN001480
(in versions v1 r19 through v1 r13)
Title
All user home directories must have mode 0750 or less permissive. (Cat II impact)
Discussion
Excessive permissions on home directories allow unauthorized access to user files.
Check Content
Check the home directory mode of each user in /etc/passwd. Procedure: # ls -lLd `cat /etc/passwd | cut -f 6,6 -d ":"` | more If a user's home directory mode is more permissive than 0750, this is a finding. NOTE: Application directories are allowed to and may need 0755 permissions (or greater) for correct operation.
Fix Text
Change the mode of user's home directory to 0750 or less permissive. Procedure (example): # chmod 0750 <home directory> NOTE: Application directories are allowed to and may need 0755 permissions (or greater) for correct operation.
Additional Identifiers
Rule ID: SV-34870r1_rule
Vulnerability ID: V-901
Group Title: GEN001480
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 |