SV-281043r1184617_rule
V-281043
SRG-OS-000445-GPOS-00199
RHEL-10-400130
CAT II
10
Configure RHEL 10 so that cron configuration file directories are owned by root with the following command:
$ sudo chown root [cron config file]
Verify RHEL 10 ownership of all cron configuration files with the following command:
$ stat -c "%U %n" /etc/cron*
root /etc/cron.d
root /etc/cron.daily
root /etc/cron.deny
root /etc/cron.hourly
root /etc/cron.monthly
root /etc/crontab
root /etc/cron.weekly
If any crontab is not owned by root, this is a finding.
V-281043
False
RHEL-10-400130
Verify RHEL 10 ownership of all cron configuration files with the following command:
$ stat -c "%U %n" /etc/cron*
root /etc/cron.d
root /etc/cron.daily
root /etc/cron.deny
root /etc/cron.hourly
root /etc/cron.monthly
root /etc/crontab
root /etc/cron.weekly
If any crontab is not owned by root, this is a finding.
M
5733