summaryrefslogtreecommitdiff
path: root/usr.bin/sudo
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-10-20 10:37:13 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-10-20 10:37:13 +0000
commitd7b7e109ac3bd413e8d2c6626d5bd64e576413e2 (patch)
treed7f15a92d0a9606c4b87b42339b4684f2df64814 /usr.bin/sudo
parentd94416c5dca2f5b39992748e5863b8727399b411 (diff)
add EDITOR and VISUAL to env_keep
ok jsing ray kjell
Diffstat (limited to 'usr.bin/sudo')
-rw-r--r--usr.bin/sudo/sudoers4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/sudoers b/usr.bin/sudo/sudoers
index e1ca718ca64..834505d4921 100644
--- a/usr.bin/sudo/sudoers
+++ b/usr.bin/sudo/sudoers
@@ -1,4 +1,4 @@
-# $OpenBSD: sudoers,v 1.17 2007/10/07 13:02:33 steven Exp $
+# $OpenBSD: sudoers,v 1.18 2007/10/20 10:37:12 henning Exp $
#
# sudoers file.
#
@@ -17,7 +17,7 @@
Defaults env_keep +="DESTDIR FETCH_CMD FLAVOR FTPMODE GROUP MAKE MULTI_PACKAGES"
Defaults env_keep +="OKAY_FILES OWNER PKG_DBDIR PKG_DESTDIR PKG_CACHE PKG_PATH"
Defaults env_keep +="PKG_TMPDIR PORTSDIR RELEASEDIR SUBPACKAGE WRKOBJDIR"
-Defaults env_keep +="SSH_AUTH_SOCK"
+Defaults env_keep +="SSH_AUTH_SOCK EDITOR VISUAL"
# Uncomment to preserve the environment for users in group wheel
#Defaults:%wheel !env_reset