Imported Upstream version 1.8.1p2
[debian/sudo] / doc / sample.sudo.conf
1 #
2 # Sample /etc/sudo.conf file
3 #
4 # Format:
5 #   Plugin plugin_name plugin_path
6 #   Path askpass /path/to/askpass
7 #   Path noexec /path/to/noexec.so
8 #
9 # Sudo plugins:
10 #
11 # The plugin_path is relative to ${prefix}/libexec unless fully qualified.
12 # The plugin_name corresponds to a global symbol in the plugin
13 #   that contains the plugin interface structure.
14 #
15 # The sudoers plugin is used by default if no Plugin lines are present.
16 Plugin sudoers_policy sudoers.so
17 Plugin sudoers_io sudoers.so
18
19 #
20 # Sudo askpass:
21 #
22 # An askpass helper program may be specified to provide a graphical
23 # password prompt for "sudo -A" support.  Sudo does not ship with its
24 # own passpass program but can use the OpenSSH askpass.
25 #
26 # Use the OpenSSH askpass
27 #Path askpass /usr/X11R6/bin/ssh-askpass
28 #
29 # Use the Gnome OpenSSH askpass
30 #Path askpass /usr/libexec/openssh/gnome-ssh-askpass
31
32 #
33 # Sudo noexec:
34 #
35 # Path to a shared library containing dummy versions of the execv(),
36 # execve() and fexecve() library functions that just return an error.
37 # This is used to implement the "noexec" functionality on systems that
38 # support C<LD_PRELOAD> or its equivalent.
39 # The compiled-in value is usually sufficient and should only be changed
40 # if you rename or move the sudo_noexec.so file.
41 #
42 #Path noexec /usr/libexec/sudo_noexec.so