The Oracle Linux operating system must be configured so that the cron.allow file, if it exists, is owned by root.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-221751 | OL07-00-021110 | SV-221751r991589_rule | CCI-000366 | medium |
| Description | ||||
| If the owner of the "cron.allow" file is not set to root, the possibility exists for an unauthorized user to view or to edit sensitive information. | ||||
| STIG | Date | |||
| Oracle Linux 7 Security Technical Implementation Guide | 2025-05-08 | |||
Details
Check Text (C-221751r991589_chk)
Verify that the "cron.allow" file is owned by root.
Check the owner of the "cron.allow" file with the following command:
# ls -al /etc/cron.allow
-rw------- 1 root root 6 Mar 5 2011 /etc/cron.allow
If the "cron.allow" file exists and has an owner other than root, this is a finding.
Fix Text (F-23455r419326_fix)
Set the owner on the "/etc/cron.allow" file to root with the following command:
# chown root /etc/cron.allow