mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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 ed6f64ff8a)
This commit is contained in:
1 parent
bf96a6c762
commit
d6898bc06a
1 file changed
+6
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user