version 1.13, 2015/07/27 21:44:11 |
version 1.14, 2015/07/30 14:02:04 |
|
|
.El |
.El |
.Sh EXAMPLES |
.Sh EXAMPLES |
The following example permits users in group wsrc to build ports, |
The following example permits users in group wsrc to build ports, |
wheel to execute commands as root while keeping the environment |
wheel to execute commands as any user while keeping the environment |
variables |
variables |
.Ev ENV , |
.Ev ENV , |
.Ev PS1 , |
.Ev PS1 , |
|
|
PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \e |
PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \e |
SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wsrc |
SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wsrc |
permit nopass keepenv { ENV PS1 SSH_AUTH_SOCK } :wheel |
permit nopass keepenv { ENV PS1 SSH_AUTH_SOCK } :wheel |
permit nopass tedu cmd /usr/sbin/procmap |
permit nopass tedu as root cmd /usr/sbin/procmap |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr doas 1 |
.Xr doas 1 |