We need to have /usr/local/bin in cron's path for all users. Is there a way to set it system-wide, without needing to edit each individual user's crontab?
We've tried adding PATH to /etc/crontab:
# grep PATH /etc/crontab PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
But when users have this in their crontab:
$ crontab -l | grep PATH * * * * * echo $PATH > /tmp/current_cron_path
...it reveals that their path is still set to default:
$ cat /tmp/current_cron_path /usr/bin:/bin