UCF STIG Viewer Logo

Cron and crontab directories must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-979 GEN003100 SV-64375r1_rule Medium
Description
To protect the integrity of scheduled system jobs and to prevent malicious modification to these jobs, crontab files must be secured.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52777r1_chk )
Check the mode of the crontab directories.

Procedure:
# ls -ld /var/spool/cron

# ls -ld /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly
or
# ls -ld /etc/cron*|grep -v deny

If the mode of any of the crontab directories is more permissive than 0755, this is a finding.
Fix Text (F-54959r4_fix)
Change the mode of the crontab directories.

# chmod 0755