Todd C. Miller <mill...@openbsd.org> wrote: > The default root crontab on OpenBSD sets a more limited PATH: > > PATH=/bin:/sbin:/usr/bin:/usr/sbin > > Perhaps that is what you are talking about? We might want to > consider removing PATH from root's crontab and just use the value > from login.conf.
The reason it is done this way is that root often installs packages into /usr/local for regular users of the system, but may not consider that there are impacts upon cron jobs. Like many behaviours in OpenBSD, the safe decision is the default, and Tuning this is left as an easy task for the administrator.