AlmaLinux OS 9 cron configuration files directory must be owned by root.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269184 | ALMA-09-011900 | SV-269184r1050066_rule | CCI-000366 | medium |
| Description | ||||
| Service configuration files enable or disable features of their respective services that if configured incorrectly can lead to insecure and vulnerable configurations; therefore, service configuration files must be owned by the correct group to prevent unauthorized changes. | ||||
| STIG | Date | |||
| CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 | |||
Details
Check Text (C-269184r1050066_chk)
Verify the ownership of all cron configuration files with the 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.
Fix Text (F-73116r1047929_fix)
Configure any cron configuration not owned by root with the following command:
$ chown root [cron config file]