Debian Codegraph @

lib/util/regress/corpus/seed/sudo_conf/sudo.conf.1

raw
1 #
2 # Default /etc/sudo.conf file
3 #
4 # Sudo plugins:
5 # Plugin plugin_name plugin_path plugin_options ...
6 #
7 # The plugin_path is relative to /usr/local/libexec/sudo unless
8 # fully qualified.
9 # The plugin_name corresponds to a global symbol in the plugin
10 # that contains the plugin interface structure.
11 # The plugin_options are optional.
12 #
13 # The sudoers plugin is used by default if no Plugin lines are present.
14 #Plugin sudoers_policy sudoers.so
15 #Plugin sudoers_io sudoers.so
16 #Plugin sudoers_audit sudoers.so
17
18 #
19 # Sudo askpass:
20 # Path askpass /path/to/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 askpass 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 device search path:
34 # Path devsearch /dev/path1:/dev/path2:/dev
35 #
36 # A colon-separated list of paths to check when searching for a user's
37 # terminal device.
38 #
39 #Path devsearch /dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev
40
41 #
42 # Sudo noexec:
43 # Path noexec /path/to/sudo_noexec.so
44 #
45 # Path to a shared library containing replacements for the execv(),
46 # execve() and fexecve() library functions that just return an error.
47 # This is used to implement the "noexec" functionality on systems that
48 # support LD_PRELOAD or its equivalent.
49 #
50 # The compiled-in value is usually sufficient and should only be changed
51 # if you rename or move the sudo_noexec.so file.
52 #
53 #Path noexec /usr/local/libexec/sudo/sudo_noexec.so
54
55 #
56 # Sudo plugin directory:
57 # Path plugin_dir /path/to/plugins
58 #
59 # The default directory to use when searching for plugins that are
60 # specified without a fully qualified path name.
61 #
62 #Path plugin_dir /usr/local/libexec/sudo
63
64 #
65 # Core dumps:
66 # Set disable_coredump true|false
67 #
68 # By default, sudo disables core dumps while it is executing (they
69 # are re-enabled for the command that is run).
70 # To aid in debugging sudo problems, you may wish to enable core
71 # dumps by setting "disable_coredump" to false.
72 #
73 #Set disable_coredump false
74
75 #
76 # User groups:
77 # Set group_source static|dynamic|adaptive
78 #
79 # Sudo passes the user's group list to the policy plugin.
80 # If the user is a member of the maximum number of groups (usually 16),
81 # sudo will query the group database directly to be sure to include
82 # the full list of groups.
83 #
84 # On some systems, this can be expensive so the behavior is configurable.
85 # The "group_source" setting has three possible values:
86 # static - use the user's list of groups returned by the kernel.
87 # dynamic - query the group database to find the list of groups.
88 # adaptive - if user is in less than the maximum number of groups.
89 # use the kernel list, else query the group database.
90 #
91 #Set group_source static
92
93 #
94 # Sudo interface probing:
95 # Set probe_interfaces true|false
96 #
97 # By default, sudo will probe the system's network interfaces and
98 # pass the IP address of each enabled interface to the policy plugin.
99 # On systems with a large number of virtual interfaces this may take
100 # a noticeable amount of time.
101 #
102 #Set probe_interfaces false
103
104 #
105 # Sudo debug files:
106 # Debug program /path/to/debug_log subsystem@priority[,subsyste@priority]
107 #
108 # Sudo and related programs support logging debug information to a file.
109 # The program is typically sudo, sudoers.so, sudoreplay or visudo.
110 #
111 # Subsystems vary based on the program; "all" matches all subsystems.
112 # Priority may be crit, err, warn, notice, diag, info, trace or debug.
113 # Multiple subsystem@priority may be specified, separated by a comma.
114 #
115 #Debug sudo /var/log/sudo_debug all@debug
116 #Debug sudoers.so /var/log/sudoers_debug all@debug