UCF STIG Viewer Logo

Crontab files must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-978 GEN003080 SV-45600r2_rule Medium
Description
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42966r1_chk )
Check the mode of the crontab files.
# ls -lL /etc/crontab /var/spool/cron/ /var/spool/cron/tabs/


If any crontab file has a mode more permissive than 0600, this is a finding.
Fix Text (F-38998r1_fix)
Change the mode of the crontab files.
# chmod 0600 /var/spool/cron/* /etc/cron.d/* /etc/crontab
# chmod 0600 /etc/crontab /var/spool/cron/* /var/spool/cron/tabs/*