Jilles Tjoelker 43d53dba8f 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
..
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-13 20:43:49 +00:00
2015-10-13 20:43:49 +00:00
2011-12-29 14:41:17 +00:00
2015-10-13 20:43:49 +00:00
2014-07-11 16:16:26 +00:00
2011-12-20 22:56:13 +00:00
2014-08-09 20:03:40 +00:00
2015-08-09 00:15:17 +00:00
2015-06-16 23:37:19 +00:00
2011-12-25 20:15:41 +00:00
2015-05-15 20:43:37 +00:00
2013-05-25 16:58:12 +00:00
2015-11-05 14:55:58 +00:00
2015-10-13 20:43:49 +00:00