DISA STIGS Viewer

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

Overview

Finding ID Version Rule ID IA Controls Severity
V-271827 OL09-00-002580 SV-271827r1092193_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
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75877r1092191_chk)
Verify that OL 9 configures permissions of the cron directories with the following command:

$ find /etc/cron* -type d | xargs stat -c "%a %n"
700 /etc/cron.d
700 /etc/cron.daily
700 /etc/cron.hourly
700 /etc/cron.monthly
700 /etc/cron.weekly

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

$ sudo chmod 0700 [cron configuration directory]