Check: GEN001380
HP-UX 11.31 STIG:
GEN001380
(in versions v1 r19 through v1 r13)
Title
The /etc/passwd file must have mode 0444 or less permissive. (Cat II impact)
Discussion
If the passwd file is writable by a group owner or the world, the risk of passwd file compromise is increased. The passwd file contains the list of accounts on the system and associated information.
Check Content
Check the mode of the /etc/passwd file. Procedure: # ls -lL /etc/passwd If /etc/passwd has a mode more permissive than 0444, this is a finding.
Fix Text
Change the mode of the passwd file to 0444. # chmod 0444 /etc/passwd Document all changes.
Additional Identifiers
Rule ID: SV-38469r1_rule
Vulnerability ID: V-798
Group Title: GEN001380
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 |