Imported Upstream version 1.8.4p4
[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 #   Debug sudo /var/log/sudo_debug all@warn
9 #   Set disable_coredump true
10 #
11 # Sudo plugins:
12 #
13 # The plugin_path is relative to ${prefix}/libexec unless fully qualified.
14 # The plugin_name corresponds to a global symbol in the plugin
15 #   that contains the plugin interface structure.
16 #
17 # The sudoers plugin is used by default if no Plugin lines are present.
18 Plugin sudoers_policy sudoers.so
19 Plugin sudoers_io sudoers.so
20
21 #
22 # Sudo askpass:
23 #
24 # An askpass helper program may be specified to provide a graphical
25 # password prompt for "sudo -A" support.  Sudo does not ship with its
26 # own passpass program but can use the OpenSSH askpass.
27 #
28 # Use the OpenSSH askpass
29 #Path askpass /usr/X11R6/bin/ssh-askpass
30 #
31 # Use the Gnome OpenSSH askpass
32 #Path askpass /usr/libexec/openssh/gnome-ssh-askpass
33
34 #
35 # Sudo noexec:
36 #
37 # Path to a shared library containing dummy versions of the execv(),
38 # execve() and fexecve() library functions that just return an error.
39 # This is used to implement the "noexec" functionality on systems that
40 # support C<LD_PRELOAD> or its equivalent.
41 # The compiled-in value is usually sufficient and should only be changed
42 # if you rename or move the sudo_noexec.so file.
43 #
44 #Path noexec /usr/libexec/sudo_noexec.so
45
46 #
47 # Core dumps:
48 #
49 # By default, sudo disables core dumps while it is executing (they
50 # are re-enabled for the command that is run).
51 # To aid in debugging sudo problems, you may wish to enable core
52 # dumps by setting "disable_coredump" to false.
53 #
54 #Set disable_coredump false