UCF STIG Viewer Logo

The Photon operating system must be configured so that the /etc/cron.allow file is protected from unauthorized modification.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239172 PHTN-67-000101 SV-239172r675324_rule Medium
Description
If cron files and folders are accessible to unauthorized users, malicious jobs may be created.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-09-27

Details

Check Text ( C-42383r675322_chk )
At the command line, execute 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 Text (F-42342r675323_fix)
At the command line, execute the following commands:

# chmod 600 /etc/cron.allow
# chown root:root /etc/cron.allow