UCF STIG Viewer Logo

Crontabs must be owned by root or the crontab creator.


Overview

Finding ID Version Rule ID IA Controls Severity
V-11994 GEN003040 SV-64401r1_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
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52801r1_chk )
List all crontabs on the system.

# ls -lL /var/spool/cron

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

If any crontab is not owned by root or the creating user, this is a finding.
Fix Text (F-54983r2_fix)
Change the crontab owner to root or the crontab creator.

# chown root
or
# chown