Re: /usr/local/sbin in default PATH?

2017-12-06 Thread Theo de Raadt
Intentional. wheel users add that sbin directory to their path when they need it. Other users should not have it. > Both _PATH_DEFPATH and _PATH_STDPATH, as defined in paths.h, > include /usr/local/bin but not /usr/local/sbin, > as opposed to /usr/bin:/bin:/usr/sbin:/sbin. > Is that

/usr/local/sbin in default PATH?

2017-12-06 Thread Jan Stary
Both _PATH_DEFPATH and _PATH_STDPATH, as defined in paths.h, include /usr/local/bin but not /usr/local/sbin, as opposed to /usr/bin:/bin:/usr/sbin:/sbin. Is that intentional? Jan Index: include/paths.h === RCS file: