1.155 RHEL-09-232235

Information

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

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

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 should be owned by the correct group to prevent unauthorized changes.

Solution

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

$ sudo chgrp root [cron config file]

See Also

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