SV-226616r603265_rule
V-226616
SRG-OS-000480
GEN003020
CAT II
10
Remove the world-writable permission from the cron program directories identified.
Procedure:
# chmod o-w <cron program directory>
List all cronjobs on the system.
Procedure:
# ls /var/spool/cron/crontabs/
If cron jobs exist under any of the above directories search for programs executed by cron.
Procedure:
# more <cron job file>
Determine if the directory containing programs executed from cron is world-writable.
Procedure:
# ls -ld <cron program directory>
If cron executes programs in world-writable directories, this is a finding.
V-226616
False
GEN003020
List all cronjobs on the system.
Procedure:
# ls /var/spool/cron/crontabs/
If cron jobs exist under any of the above directories search for programs executed by cron.
Procedure:
# more <cron job file>
Determine if the directory containing programs executed from cron is world-writable.
Procedure:
# ls -ld <cron program directory>
If cron executes programs in world-writable directories, this is a finding.
M
4060