SV-239174r675330_rule
V-239174
SRG-OS-000480-GPOS-00227
PHTN-67-000103
CAT II
10
At the command line, execute the following commands for each returned file:
# chmod 755 <path>
# chown root:root <path>
At the command line, execute the following command:
# stat -c "%n permissions are %a and owned by %U:%G" /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly
Expected result:
/etc/cron.d permissions are 755 and owned by root:root
/etc/cron.daily permissions are 755 and owned by root:root
/etc/cron.hourly permissions are 755 and owned by root:root
/etc/cron.monthly permissions are 755 and owned by root:root
/etc/cron.weekly permissions are 755 and owned by root:root
If the output does not match the expected result, this is a finding.
V-239174
False
PHTN-67-000103
At the command line, execute the following command:
# stat -c "%n permissions are %a and owned by %U:%G" /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly
Expected result:
/etc/cron.d permissions are 755 and owned by root:root
/etc/cron.daily permissions are 755 and owned by root:root
/etc/cron.hourly permissions are 755 and owned by root:root
/etc/cron.monthly permissions are 755 and owned by root:root
/etc/cron.weekly permissions are 755 and owned by root:root
If the output does not match the expected result, this is a finding.
M
5323