Rule ID
SV-45600r2_rule
Version
V1R12
CCIs
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
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.
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/*