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

The cron.deny file must be group-owned by root, bin, or sys.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22394 GEN003270 SV-26562r2_rule Medium
Description
Cron daemon control files restrict the scheduling of automated tasks and must be protected. Unauthorized modification of the cron.deny file could result in Denial of Service to authorized cron users or could provide unauthorized users with the ability to run cron jobs.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-36164r4_chk )
Check the group ownership of the file.

Procedure:
# ls -lL /etc/cron.deny

If the file is not group-owned by root, bin, or sys, this is a finding.
Fix Text (F-31415r1_fix)
Change the group ownership of the file.
# chgrp root /etc/cron.deny