[BACK]Return to doas.conf.5 CVS log [TXT][DIR] Up to [local] / src / usr.bin / doas

Diff for /src/usr.bin/doas/doas.conf.5 between version 1.20 and 1.21

version 1.20, 2016/06/05 07:22:25 version 1.21, 2016/06/07 14:11:16
Line 59 
Line 59 
 .Ev USER  .Ev USER
 and  and
 .Ev USERNAME .  .Ev USERNAME .
 .It Ic keepenv { Oo Ar variable ... Oc Ic }  .It Ic keepenv { Oo Ar variable ... Oc Ic Oo Ar variable=value ... Oc Ic }
 In addition to the variables mentioned above, keep the space-separated  In addition to the variables mentioned above, keep the space-separated
 specified variables.  specified variables.
 .It Ic setenv { Oo Ar variable=value ... Oc Ic }  Variables may also be set using the latter syntax.
 Sets one or more environment variables to the specified values.  
 If the first character of  If the first character of
 .Ar value  .Ar value
 is a  is a
 .Ql $  .Ql $
 then the value to be set is taken from the existing environment  then the value to be set is taken from the existing environment
 variable of the same name.  variable of the same name.
 .Cm setenv  
 directives override environment variables copied via  
 .Cm keepenv .  
 .El  .El
 .It Ar identity  .It Ar identity
 The username to match.  The username to match.
Line 138 
Line 134 
         MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \e          MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \e
         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=$DOAS_PS1 SSH_AUTH_SOCK } :wheel
 permit nopass tedu as root cmd /usr/sbin/procmap  permit nopass tedu as root cmd /usr/sbin/procmap
 permit nopass keepenv root as root  permit nopass keepenv root as root
 permit nopass setenv { PS1=$DOAS_PS1 } :staff  
 .Ed  .Ed
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr doas 1  .Xr doas 1

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21