4.1.1 Ensure cron daemon is enabled and active

Information

The cron daemon is used to execute batch jobs on the system.

Note: Other methods, such as systemd timers exist for scheduling jobs. If another method is used, cron should be removed, and the alternate method should be secured in accordance with local site policy

While there may not be user jobs that need to be run on the system, the system does have maintenance jobs that may include security monitoring that have to run, and cron is used to execute them.

Solution

Run the following command to enable and start cron :

# systemctl unmask cron
# systemctl --now enable cron

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: ac4ba10d52a923232049588ef963a3a1221dcbd32b7ec36830f3e392886471c9