From: Todd C. Miller Date: Fri, 23 Jul 2010 16:21:22 +0000 (-0400) Subject: Add sample sudo.conf X-Git-Tag: SUDO_1_8_0~333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=084ae523ac212a015a60f75a45e0098637792483;p=sudo Add sample sudo.conf --- diff --git a/doc/sample.sudo.conf b/doc/sample.sudo.conf new file mode 100644 index 000000000..8cb1c8266 --- /dev/null +++ b/doc/sample.sudo.conf @@ -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