summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sudo/sudoers8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/sudo/sudoers b/usr.bin/sudo/sudoers
index bb42f2bc4d6..268fe197b62 100644
--- a/usr.bin/sudo/sudoers
+++ b/usr.bin/sudo/sudoers
@@ -1,3 +1,5 @@
+# $OpenBSD: sudoers,v 1.15 2007/09/06 11:05:21 millert Exp $
+#
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
@@ -12,6 +14,12 @@
# Cmnd alias specification
# Defaults specification
+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"
+
+# Uncomment to preserve the environment for users in group wheel
+#Defaults:%wheel !env_reset
# Runas alias specification