TOSS 5 cron configuration directories must have a mode of 0700 or less permissive.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-282641 | SRG-OS-000480-GPOS-00227 | TOSS-05-000145 | SV-282641r1200903_rule | 2026-04-01 | 1 |
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.
ℹ️ Check
Verify the permissions of the cron directories using 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
Configure any TOSS 5 cron configuration directory with a mode more permissive than "0700" as follows:
$ sudo chmod 0700 [cron configuration directory]