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

System logs must be rotated daily.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51021 OL6-00-000138 SV-65227r1_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
Oracle Linux 6 Security Technical Implementation Guide 2019-10-01

Details

Check Text ( C-53463r1_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-55825r1_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