The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=d6898bc06ae9637ffa35705c5753fdecc518d73b
commit d6898bc06ae9637ffa35705c5753fdecc518d73b Author: Andrew Gierth <[email protected]> AuthorDate: 2020-02-05 04:27:08 +0000 Commit: Kyle Evans <[email protected]> CommitDate: 2021-02-04 03:14:12 +0000 login.conf(5): set a default PATH for the daemon class This is a sensible default used by, e.g., cron(8), and useful if one wanted to honor it. This is a part of D21481. (cherry picked from commit ed6f64ff8a90eee579fefef510329b5e9f1f9a65) --- usr.bin/login/login.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usr.bin/login/login.conf b/usr.bin/login/login.conf index 974d4485eadc..44174dd12d03 100644 --- a/usr.bin/login/login.conf +++ b/usr.bin/login/login.conf @@ -61,7 +61,13 @@ xuser:\ :tc=default: staff:\ :tc=default: + +# This PATH may be clobbered by individual applications. Notably, by default, +# rc(8), service(8), and cron(8) will all override it with a default PATH that +# may not include /usr/local/sbin and /usr/local/bin when starting services or +# jobs. daemon:\ + :path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin:\ :mail@:\ :memorylocked=128M:\ :tc=default: _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
