summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-04-11 20:51:58 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-04-11 20:51:58 +0000
commit1f4875bc4e1f4292beecbf9fc4cfde14b0765c77 (patch)
treeb1b64fede6481e43e7fd3ebf05c5880115d30e03
parent0fcd3a2655c466633469fdebb7b6a7ff9b39e915 (diff)
add a commented out entry that disables the lecture blurb the first
time you run sudo(8); ok millert@
-rw-r--r--usr.bin/sudo/sudoers5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/sudo/sudoers b/usr.bin/sudo/sudoers
index 9b70fd78739..53a27fdacd6 100644
--- a/usr.bin/sudo/sudoers
+++ b/usr.bin/sudo/sudoers
@@ -1,4 +1,4 @@
-# $OpenBSD: sudoers,v 1.20 2008/03/20 12:46:43 sthen Exp $
+# $OpenBSD: sudoers,v 1.21 2008/04/11 20:51:57 thib Exp $
#
# sudoers file.
#
@@ -21,6 +21,9 @@ 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 EDITOR VISUAL SHARED_ONLY"
+# Uncomment to disable the lecture the first time you run sudo
+#Defaults !lecture
+
# Uncomment to preserve the environment for users in group wheel
#Defaults:%wheel !env_reset