Debian Codegraph @

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

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 # Path to the sesh binary for SELinux support
66 #
67 Path sesh /usr/local/libexec/sudo/sesh
68
69 #
70 # Core dumps:
71 # Set disable_coredump true|false
72 #
73 # By default, sudo disables core dumps while it is executing (they
74 # are re-enabled for the command that is run).
75 # To aid in debugging sudo problems, you may wish to enable core
76 # dumps by setting "disable_coredump" to false.
77 #
78 Set disable_coredump true
79
80 #
81 # User groups:
82 # Set group_source static|dynamic|adaptive
83 #
84 # Sudo passes the user's group list to the policy plugin.
85 # If the user is a member of the maximum number of groups (usually 16),
86 # sudo will query the group database directly to be sure to include
87 # the full list of groups.
88 #
89 # On some systems, this can be expensive so the behavior is configurable.
90 # The "group_source" setting has three possible values:
91 # static - use the user's list of groups returned by the kernel.
92 # dynamic - query the group database to find the list of groups.
93 # adaptive - if user is in less than the maximum number of groups.
94 # use the kernel list, else query the group database.
95 #
96 Set group_source dynamic
97
98 #
99 # Maximum number of groups to use
100 #
101 Set max_groups 8
102
103 #
104 # Sudo interface probing:
105 # Set probe_interfaces true|false
106 #
107 # By default, sudo will probe the system's network interfaces and
108 # pass the IP address of each enabled interface to the policy plugin.
109 # On systems with a large number of virtual interfaces this may take
110 # a noticeable amount of time.
111 #
112 Set probe_interfaces true
113
114 #
115 # Sudo debug files:
116 # Debug program /path/to/debug_log subsystem@priority[,subsyste@priority]
117 #
118 # Sudo and related programs support logging debug information to a file.
119 # The program is typically sudo, sudoers.so, sudoreplay or visudo.
120 #
121 # Subsystems vary based on the program; "all" matches all subsystems.
122 # Priority may be crit, err, warn, notice, diag, info, trace or debug.
123 # Multiple subsystem@priority may be specified, separated by a comma.
124 #
125 Debug sudo /var/log/sudo_debug all@debug
126 Debug sudoers.so /var/log/sudoers_debug all@debug