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-27357r2_rule Medium
Description
Cron logs contain reports of scheduled system activities and must be protected from unauthorized access or manipulation.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-28501r2_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-24602r1_fix)
Change the mode of the cron log file.
# chmod 0600 /var/log/cron