The Oracle Linux operating system must be configured so that the cron.allow file, if it exists, is owned by root.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-221751 | SRG-OS-000480-GPOS-00227 | OL07-00-021110 | SV-221751r991589_rule | 2025-02-20 | 3 |
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. |
ℹ️ Check |
---|
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 |
---|
Set the owner on the "/etc/cron.allow" file to root with the following command: # chown root /etc/cron.allow |