AlmaLinux OS 9 cron configuration files directory must be group-owned by root.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-269183ALMA-09-011790SV-269183r1050065_ruleCCI-000366medium
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.
STIGDate
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide2025-05-22

Details

Check Text (C-269183r1050065_chk)

Verify the group ownership of all cron configuration files with the following command: $ stat -c "%G %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 group owned by root, this is a finding.

Fix Text (F-73115r1047926_fix)

Configure any cron configuration not group-owned by root with the following command: $ chgrp root [cron config file]