The Photon operating system must be configured so the "/etc/cron.allow" file is protected from unauthorized modification.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256564 | SRG-OS-000480-GPOS-00227 | PHTN-30-000095 | SV-256564r991589_rule | 2024-12-16 | 1 |
Description |
---|
If cron files and folders are accessible to unauthorized users, malicious jobs may be created. |
ℹ️ Check |
---|
At the command line, run the following command: # stat -c "%n permissions are %a and owned by %U:%G" /etc/cron.allow Expected result: /etc/cron.allow permissions are 600 and owned by root:root If the output does not match the expected result, this is a finding. |
✔️ Fix |
---|
At the command line, run the following commands: # chmod 600 /etc/cron.allow # chown root:root /etc/cron.allow |