diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2022-05-19 05:59:41 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2022-05-19 13:58:32 +0000 |
commit | 7eb6a92e3f938d419d3edc0399fc4c1d1018da15 (patch) | |
tree | 2cda50b6155e97a47a5371f39236c06328f537bd | |
parent | f9ca52bab510ff97c6a3c513ddce698a0d19934c (diff) | |
download | src-7eb6a92e3f938d419d3edc0399fc4c1d1018da15.tar.gz src-7eb6a92e3f938d419d3edc0399fc4c1d1018da15.zip |
jexec man: Explain how PATH is adjusted.
Add a sentence that explains that PATH is set to `/bin:/usr/bin`.
I had to dive into `jexec.c` to find this out.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D35251
-rw-r--r-- | usr.sbin/jexec/jexec.8 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/jexec/jexec.8 b/usr.sbin/jexec/jexec.8 index f7ff3337ad46..8b28061c7037 100644 --- a/usr.sbin/jexec/jexec.8 +++ b/usr.sbin/jexec/jexec.8 @@ -55,6 +55,8 @@ Execute in a clean environment. The environment is discarded except for .Ev HOME , SHELL , TERM , USER , and anything from the login class capability database for the user. +.Ev PATH +is set to "/bin:/usr/bin". .It Fl u Ar username The user name from host environment as whom the .Ar command |