DISA STIGS Viewer

AlmaLinux OS 9 cron configuration directories must have a mode of 0700 or less permissive.

Overview

Finding ID Version Rule ID IA Controls Severity
V-269185 ALMA-09-012010 SV-269185r1050067_rule   Medium
Description
Service configuration files enable or disable features of their respective services that if configured incorrectly can lead to insecure and vulnerable configurations. Therefore, service configuration files should have the correct access rights to prevent unauthorized changes.
STIG Date
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide 2025-05-22

Details

Check Text (C-73216r1047931_chk)
Verify the permissions of the cron directories with the following command:

$ find /etc/cron* -type d | xargs stat -c "%#a %n"

0700 /etc/cron.d
0700 /etc/cron.daily
0700 /etc/cron.hourly
0700 /etc/cron.monthly
0700 /etc/cron.weekly

If any cron configuration directory is more permissive than "700", this is a finding.
Fix Text (F-73117r1049278_fix)
Configure any AlmaLinux OS 9 cron configuration directory with a mode more permissive than "0700" as follows:

chmod 0700 [cron configuration directory]