|
|
46eb58 |
#
|
|
|
46eb58 |
# Default /etc/sudo.conf file
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Format:
|
|
|
46eb58 |
# Plugin plugin_name plugin_path plugin_options ...
|
|
|
46eb58 |
# Path askpass /path/to/askpass
|
|
|
46eb58 |
# Path noexec /path/to/sudo_noexec.so
|
|
|
46eb58 |
# Debug sudo /var/log/sudo_debug all@warn
|
|
|
46eb58 |
# Set disable_coredump true
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Sudo plugins:
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# The plugin_path is relative to ${prefix}/libexec unless fully qualified.
|
|
|
46eb58 |
# The plugin_name corresponds to a global symbol in the plugin
|
|
|
46eb58 |
# that contains the plugin interface structure.
|
|
|
46eb58 |
# The plugin_options are optional.
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# The sudoers plugin is used by default if no Plugin lines are present.
|
|
|
46eb58 |
Plugin sudoers_policy sudoers.so
|
|
|
46eb58 |
Plugin sudoers_io sudoers.so
|
|
|
46eb58 |
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Sudo askpass:
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# An askpass helper program may be specified to provide a graphical
|
|
|
46eb58 |
# password prompt for "sudo -A" support. Sudo does not ship with its
|
|
|
46eb58 |
# own passpass program but can use the OpenSSH askpass.
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Use the OpenSSH askpass
|
|
|
46eb58 |
#Path askpass /usr/X11R6/bin/ssh-askpass
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Use the Gnome OpenSSH askpass
|
|
|
46eb58 |
#Path askpass /usr/libexec/openssh/gnome-ssh-askpass
|
|
|
46eb58 |
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Sudo noexec:
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Path to a shared library containing dummy versions of the execv(),
|
|
|
46eb58 |
# execve() and fexecve() library functions that just return an error.
|
|
|
46eb58 |
# This is used to implement the "noexec" functionality on systems that
|
|
|
46eb58 |
# support C<LD_PRELOAD> or its equivalent.
|
|
|
46eb58 |
# The compiled-in value is usually sufficient and should only be changed
|
|
|
46eb58 |
# if you rename or move the sudo_noexec.so file.
|
|
|
46eb58 |
#
|
|
|
46eb58 |
#Path noexec /usr/libexec/sudo_noexec.so
|
|
|
46eb58 |
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Core dumps:
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# By default, sudo disables core dumps while it is executing (they
|
|
|
46eb58 |
# are re-enabled for the command that is run).
|
|
|
46eb58 |
# To aid in debugging sudo problems, you may wish to enable core
|
|
|
46eb58 |
# dumps by setting "disable_coredump" to false.
|
|
|
46eb58 |
#
|
|
|
46eb58 |
# Set to false here so as not to interfere with /proc/sys/fs/suid_dumpable
|
|
|
46eb58 |
#
|
|
|
46eb58 |
Set disable_coredump false
|