Crontab files must have mode 0600 or less permissive, and files in cron script directories must have mode 0700 or less permissive.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN003080

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-38545r1_rule Crontab files must have mode 0600 or less permissive, and files in cron script directories must have mode 0700 or less permissive.

Vulnerability 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 mode of the crontab files. # ls -lL /var/spool/cron/crontabs If any crontab file has a mode more permissive than 0600, this is a finding.

Fix text

Change the mode of the crontab files. # chmod 0600 /var/spool/cron/crontabs/*

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