]> granicus.if.org Git - sudo/commitdiff
Add sample sudo.conf
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 23 Jul 2010 16:21:22 +0000 (12:21 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 23 Jul 2010 16:21:22 +0000 (12:21 -0400)
doc/sample.sudo.conf [new file with mode: 0644]

diff --git a/doc/sample.sudo.conf b/doc/sample.sudo.conf
new file mode 100644 (file)
index 0000000..8cb1c82
--- /dev/null
@@ -0,0 +1,29 @@
+#
+# Sample /etc/sudo.conf file
+#
+# Format:
+#   Plugin plugin_name plugin_path
+#   Path askpass askpass_path
+#
+# Sudo plugins:
+#
+# The plugin_path is relative to ${prefix}/libexec unless fully qualified.
+# The plugin_name corresponds to a global symbol in the plugin
+#   that contains the plugin interface structure.
+#
+# The sudoers plugin is used by default if no Plugin lines are present.
+Plugin sudoers_policy sudoers.so
+Plugin sudoers_io sudoers.so
+
+#
+# Sudo askpass:
+#
+# An askpass helper program may be specified to provide a graphical
+# password prompt for "sudo -A" support.  Sudo does not ship with its
+# own passpass program but can use the OpenSSH askpass.
+#
+# Use the OpenSSH askpass
+#Path askpass /usr/X11R6/bin/ssh-askpass
+#
+# Use the Gnome OpenSSH askpass
+#Path askpass /usr/libexec/openssh/gnome-ssh-askpass