freebsd-skq/usr.sbin/cron
jilles 14b7155b88 Add sbin and /usr/local directories to _PATH_DEFPATH.
Set _PATH_DEFPATH to
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin. This is the
path in the default class in the default /etc/login.conf,
excluding ~/bin which would not be expanded properly in a string
constant.

For normal logins, _PATH_DEFPATH is overridden by /etc/login.conf,
~/.login_conf or shell startup files. _PATH_DEFPATH is still used as a
default by execlp(), execvp(), posix_spawnp() and sh if PATH is not set, and
by cron. Especially the latter is a common trap (most recently in PR
204813).

PR:		204813
Reviewed by:	secteam (delphij), alfred
2016-01-05 16:21:20 +00:00
..
cron Undo change from r292607 that was not meant to be there 2015-12-22 15:42:53 +00:00
crontab Add sbin and /usr/local directories to _PATH_DEFPATH. 2016-01-05 16:21:20 +00:00
doc
lib Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile
Makefile.inc Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00