UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Cron logging must be implemented.


Overview

Finding ID Version Rule ID IA Controls Severity
V-982 GEN003160 SV-64313r2_rule ECAR-1 ECAR-2 ECAR-3 Medium
Description
Cron logging can be used to trace the successful or unsuccessful execution of cron jobs. It can also be used to spot intrusions into the use of the cron facility by unauthorized and malicious users.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-03-26

Details

Check Text ( C-52731r2_chk )
Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file.

# grep cron /etc/syslog.conf

Or:

# grep cron /etc/rsyslog.conf

If cron logging is not configured, this is a finding.

Check the configured cron log file found in the cron entry of /etc/syslog.conf or /etc/rsyslog.conf (normally /var/log/cron).

# ls -lL /var/log/cron

If this file does not exist, or is older than the last cron job, this is a finding.
Fix Text (F-54903r2_fix)
Edit /etc/syslog.conf or /etc/rsyslog.conf and setup cron logging.