STIGUI
V-257888CAT II — Medium severitySV-257888r1268251_rule

RHEL 9 permissions of cron configuration files and directories must not be modified from the operating system defaults.

Rule version RHEL-09-232040 · STIG v2 · 2026-09-17

Discussion

If the permissions of cron configuration files or directories are modified from the operating system defaults, it may be possible for individuals to insert unauthorized cron jobs that perform unauthorized actions, including potentially escalating privileges.

Check

Run the following command to verify that the owner, group, and mode of cron configuration files and directories match the operating system defaults:

$ rpm --verify cronie crontabs | awk '! ($2 == "c" && $1 ~ /^.\..\.\.\.\..\./) {print $0}'

If the command returns any output, this is a finding.

Fix

Run the following commands to restore the permissions of cron configuration files and directories to the operating system defaults:

$ sudo dnf reinstall cronie crontabs
$ rpm --setugids cronie crontabs
$ rpm --setperms cronie crontabs

Identifiers

Group ID
V-257888
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-257888r1268251_rule
Check ID
C-61629r1208468_chk
Fix ID
F-61553r1069377_fix