diff options
-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 |