1.154 RHEL-09-232230

Information

RHEL 9 cron configuration files directory must be owned by root.

GROUP ID: V-257926
RULE ID: SV-257926r991589

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.

Solution

Configure any cron configuration not owned by root with the following command:

$ sudo chown root [cron config file]

See Also

https://workbench.cisecurity.org/benchmarks/22008