Rule ID
SV-45585r1_rule
Version
V1R12
CCIs
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
List all crontabs on the system.
# ls -lL /var/spool/cron /var/spool/cron/tabs
# ls -lL /etc/crontab /etc/cron.{d,daily,hourly,monthly,weekly}
or
# ls -lL /etc/cron*|grep -v deny
If any crontab is not owned by root or the creating user, this is a findingChange the crontab owner to root or the crontab creator. # chown root <crontab file> or # chown <user> <crontab file>