=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/doas/doas.1,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- src/usr.bin/doas/doas.1 2019/06/19 09:50:13 1.21 +++ src/usr.bin/doas/doas.1 2019/06/21 17:02:27 1.22 @@ -1,4 +1,4 @@ -.\" $OpenBSD: doas.1,v 1.21 2019/06/19 09:50:13 schwarze Exp $ +.\" $OpenBSD: doas.1,v 1.22 2019/06/21 17:02:27 tedu Exp $ .\" .\"Copyright (c) 2015 Ted Unangst .\" @@ -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: June 19 2019 $ +.Dd $Mdocdate: June 21 2019 $ .Dt DOAS 1 .Os .Sh NAME @@ -40,7 +40,7 @@ .Fl s is specified. .Pp -By default, the environment is reset. +By default, a new environment is created. The variables .Ev HOME , .Ev LOGNAME , @@ -51,6 +51,9 @@ and the .Xr umask 2 are set to values appropriate for the target user. +.Ev DOAS_USER +is set to the name of the user executing +.Nm . The variables .Ev DISPLAY and