diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2019-06-17 18:44:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2019-06-17 18:44:45 +0000 |
commit | 4bc321ab120f49b3248f0dd5d2a855c1e9db14ce (patch) | |
tree | d199d83c6ec9770a6f1bf6d2d7b045ce1f0a79bd /usr.bin | |
parent | 2f269620e1fdac476859aa8f62b857a4e2fec824 (diff) |
mention environment resetting here as well. ok millert
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/doas/doas.1 | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/usr.bin/doas/doas.1 b/usr.bin/doas/doas.1 index d39c4aab2d5..e957050fe95 100644 --- a/usr.bin/doas/doas.1 +++ b/usr.bin/doas/doas.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: doas.1,v 1.19 2016/09/04 15:20:37 tedu Exp $ +.\" $OpenBSD: doas.1,v 1.20 2019/06/17 18:44:44 tedu Exp $ .\" .\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> .\" @@ -13,7 +13,7 @@ .\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: September 4 2016 $ +.Dd $Mdocdate: June 17 2019 $ .Dt DOAS 1 .Os .Sh NAME @@ -40,6 +40,23 @@ or .Fl s is specified. .Pp +By default, the environment is reset. +The variables +.Ev HOME , +.Ev LOGNAME , +.Ev PATH , +.Ev SHELL , +and +.Ev USER +are set to values appropriate for the target user. +The variables +.Ev DISPLAY +and +.Ev TERM +are inherited from the current environment. +This behavior may be modified by the config file. +The working directory is not changed. +.Pp The options are as follows: .Bl -tag -width tenletters .It Fl a Ar style |