Files in cron script directories must have mode 0700 or less permissive.

From SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Part of GEN003080-2

Associated with: CCI-000225

SV-45599r2_rule 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 scripts in cron job directories. ls -lL /etc/cron.{d,daily,hourly,monthly,weekly} If any cron script has a mode more permissive than 0700, this is a finding.

Fix text

Change the mode of the cron scripts. # chmod go-rwx /etc/cron.d/* /etc/cron.daily/* /etc/cron.hourly/* /etc/cron.monthly/* /etc/cron.weekly/*

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