From 78ab134cc3541d3dc9ad55044cbad5c0c8539147 Mon Sep 17 00:00:00 2001 From: tedu Date: Mon, 17 Jun 2019 18:44:44 +0000 Subject: [PATCH] mention environment resetting here as well. ok millert --- doas.1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doas.1 b/doas.1 index 26d63df..0dad559 100644 --- a/doas.1 +++ b/doas.1 @@ -39,6 +39,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 C Ar config -- 2.39.2