OL 9 /etc/crontab file must have mode 0600.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-271830 | OL09-00-002583 | SV-271830r1092202_rule | CCI-000366 | 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 must 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-271830r1092202_chk)
Verify that OL 9 configures permissions of /etc/crontab with the following command:
$ stat -c "%a %n" /etc/crontab
0600
If /etc/crontab does not have a mode of "0600", this is a finding.
Fix Text (F-75787r1092201_fix)
Configure the OL 9 file /etc/crontab with mode 600.
$ sudo chmod 0600 /etc/crontab