UCF STIG Viewer Logo

The cronlog file must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-983 GEN003180 SV-64317r2_rule Medium
Description
Cron logs contain reports of scheduled system activities and must be protected from unauthorized access or manipulation.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52733r2_chk )
Check the mode of the cron log file.

Procedure:

Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file.

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

# grep cron /etc/syslog.conf

Or:

# grep cron /etc/rsyslog.conf

# ls -lL /var/log/cron

If the mode is more permissive than 0600, this is a finding.
Fix Text (F-54905r2_fix)
Change the mode of the cron log file.

# chmod 0600 /var/log/cron