UCF STIG Viewer Logo

System logs must be rotated daily.


Overview

Finding ID Version Rule ID IA Controls Severity
V-38624 RHEL-06-000138 SV-50425r1_rule Low
Description
Log files that are not properly rotated run the risk of growing so large that they fill up the /var/log partition. Valuable logging information could be lost if the /var/log partition becomes full.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2015-05-26

Details

Check Text ( C-46183r1_chk )
Run the following commands to determine the current status of the "logrotate" service:

# grep logrotate /var/log/cron*

If the logrotate service is not run on a daily basis by cron, this is a finding.
Fix Text (F-43573r1_fix)
The "logrotate" service should be installed or reinstalled if it is not installed and operating properly, by running the following command:

# yum reinstall logrotate