UCF STIG Viewer Logo

Access to the cron utility must be controlled using the cron.allow and/or cron.deny file(s).


Overview

Finding ID Version Rule ID IA Controls Severity
V-226612 GEN002960 SV-226612r603265_rule Medium
Description
The cron facility allows users to execute recurring jobs on a regular and unattended basis. The cron.allow file designates accounts allowed to enter and execute jobs using the cron facility. If neither cron.allow nor cron.deny exists, then any account may use the cron facility. This may open the facility up for abuse by system intruders and malicious users.
STIG Date
Solaris 10 SPARC Security Technical Implementation Guide 2022-09-07

Details

Check Text ( C-28773r483248_chk )
Check for the existence of the cron.allow and cron.deny files.
# ls -lL /etc/cron.d/cron.allow
# ls -lL /etc/cron.d/cron.deny
If neither file exists, this is a finding.
Fix Text (F-28761r483249_fix)
Create /etc/cron.d/cron.allow and/or /etc/cron.d/cron.deny with appropriate content.