From 598da1a0e5a47a30695d19cdac3a70d89d521aa1 Mon Sep 17 00:00:00 2001 From: tedu Date: Mon, 27 Jun 2016 15:47:38 +0000 Subject: [PATCH] somehow nopass snuck onto the :wheel example. i think it's better without. --- usr.bin/doas/doas.conf.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/doas/doas.conf.5 b/usr.bin/doas/doas.conf.5 index 0e8da080ce7..9a1c2dd0dfa 100644 --- a/usr.bin/doas/doas.conf.5 +++ b/usr.bin/doas/doas.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: doas.conf.5,v 1.27 2016/06/27 15:41:17 tedu Exp $ +.\" $OpenBSD: doas.conf.5,v 1.28 2016/06/27 15:47:38 tedu Exp $ .\" .\"Copyright (c) 2015 Ted Unangst .\" @@ -136,7 +136,7 @@ permit nopass setenv { \e MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \e PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \e SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wsrc -permit nopass setenv { -ENV PS1=$DOAS_PS1 SSH_AUTH_SOCK } :wheel +permit setenv { -ENV PS1=$DOAS_PS1 SSH_AUTH_SOCK } :wheel permit nopass tedu as root cmd /usr/sbin/procmap permit nopass keepenv root as root .Ed -- 2.20.1