RHEL-10-400130 RHEL 10 must be configured so that cron configuration file directories are owned by root.
All changes in this version
Maps to SI-6 via CCI-002696
Title
RHEL 10 must be configured so that cron configuration file directories are owned by root.
Control
Verify RHEL 10 ownership of all cron configuration files with the following command: $ stat -c "%U %n" /etc/cron* root /etc/cron.d root /etc/cron.daily root /etc/cron.deny root /etc/cron.hourly root /etc/cron.monthly root /etc/crontab root /etc/cron.weekly If any crontab is not owned by root, this is a finding.
Discussion
Service configuration files enable or disable features of their respective services, which if configured incorrectly could lead to insecure and vulnerable configurations. Therefore, service configuration files must be owned by the correct group to prevent unauthorized changes.
Related controls
CCI-002696
Fix
Configure RHEL 10 so that cron configuration file directories are owned by root with the following command: $ sudo chown root [cron config file]