Check: RHEL-09-232235
RHEL 9 STIG:
RHEL-09-232235
(in versions v1 r3 through v1 r1)
Title
RHEL 9 cron configuration files directory must be group-owned by root. (Cat II impact)
Discussion
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 be owned by the correct group to prevent unauthorized changes.
Check Content
Verify the group ownership of all cron configuration files with the following command: $ stat -c "%G %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 group owned by root, this is a finding.
Fix Text
Configure any cron configuration not group-owned by root with the following command: $ sudo chgrp root [cron config file]
Additional Identifiers
Rule ID: SV-257927r925768_rule
Vulnerability ID: V-257927
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |