summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2004-11-11 23:15:15 +0000
committerTavis Ormandy <taviso@gentoo.org>2004-11-11 23:15:15 +0000
commitca184097f0f10eff79ba0b85ca732b039f122cc9 (patch)
treeb14d6703f0992e3b5225d279385e0683bc6e141f /app-admin/sudo/files
parentVersion Bump. Closes bug #63929. (Manifest recommit) (diff)
downloadgentoo-2-ca184097f0f10eff79ba0b85ca732b039f122cc9.tar.gz
gentoo-2-ca184097f0f10eff79ba0b85ca732b039f122cc9.tar.bz2
gentoo-2-ca184097f0f10eff79ba0b85ca732b039f122cc9.zip
add env_reset to the default
Diffstat (limited to 'app-admin/sudo/files')
-rw-r--r--app-admin/sudo/files/digest-sudo-1.6.7_p5-r21
-rw-r--r--app-admin/sudo/files/digest-sudo-1.6.8_p1-r21
-rw-r--r--app-admin/sudo/files/sudoers37
3 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/sudo/files/digest-sudo-1.6.7_p5-r2 b/app-admin/sudo/files/digest-sudo-1.6.7_p5-r2
new file mode 100644
index 000000000000..2875abeb053d
--- /dev/null
+++ b/app-admin/sudo/files/digest-sudo-1.6.7_p5-r2
@@ -0,0 +1 @@
+MD5 55d503e5c35bf1ea83d38244e0242aaf sudo-1.6.7p5.tar.gz 349785
diff --git a/app-admin/sudo/files/digest-sudo-1.6.8_p1-r2 b/app-admin/sudo/files/digest-sudo-1.6.8_p1-r2
new file mode 100644
index 000000000000..c0f172fb962e
--- /dev/null
+++ b/app-admin/sudo/files/digest-sudo-1.6.8_p1-r2
@@ -0,0 +1 @@
+MD5 7fa9649f327d2e92eb1a73da537759d5 sudo-1.6.8p1.tar.gz 583464
diff --git a/app-admin/sudo/files/sudoers b/app-admin/sudo/files/sudoers
new file mode 100644
index 000000000000..2c5913d3998c
--- /dev/null
+++ b/app-admin/sudo/files/sudoers
@@ -0,0 +1,37 @@
+# sudoers file.
+#
+# This file MUST be edited with the 'visudo' command as root.
+#
+# See the sudoers man page for the details on how to write a sudoers file.
+#
+
+# Host alias specification
+
+# User alias specification
+
+# Cmnd alias specification
+
+# Defaults specification
+
+# Reset environment by default
+Defaults env_reset
+# Uncomment to allow people in group wheel to export variables
+# Defaults:%wheel !env_reset
+
+# Allow people in group users to export specific variables
+# Defaults:%users env_keep=POSIXLY_CORRECT
+
+# Runas alias specification
+
+# User privilege specification
+root ALL=(ALL) ALL
+
+# Uncomment to allow people in group wheel to run all commands
+# %wheel ALL=(ALL) ALL
+
+# Same thing without a password
+# %wheel ALL=(ALL) NOPASSWD: ALL
+
+# Samples
+# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
+# %users localhost=/sbin/shutdown -h now