Check: GEN003050
HP-UX 11.31 STIG:
GEN003050
(in versions v1 r19 through v1 r13)
Title
Crontab files must be group-owned by root, sys, cron, or the crontab creators primary group. (Cat II impact)
Discussion
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
Check Content
Check the group ownership of the crontab files. # ls -lL /var/spool/cron/crontabs If the group-owner is not root sys (default), cron, or the crontab owner's primary group, this is a finding.
Fix Text
Change the group owner of the crontab file. # chgrp root <crontab file>
Additional Identifiers
Rule ID: SV-38358r1_rule
Vulnerability ID: V-22385
Group Title: GEN003050
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |