--- embedaddon/sudo/doc/sample.sudo.conf 2012/05/29 12:26:49 1.1.1.2 +++ embedaddon/sudo/doc/sample.sudo.conf 2013/07/22 10:46:11 1.1.1.3 @@ -24,7 +24,7 @@ Plugin sudoers_io sudoers.so # # An askpass helper program may be specified to provide a graphical # password prompt for "sudo -A" support. Sudo does not ship with its -# own passpass program but can use the OpenSSH askpass. +# own askpass program but can use the OpenSSH askpass. # # Use the OpenSSH askpass #Path askpass /usr/X11R6/bin/ssh-askpass @@ -53,3 +53,20 @@ Plugin sudoers_io sudoers.so # dumps by setting "disable_coredump" to false. # #Set disable_coredump false + +# +# User groups: +# +# Sudo passes the user's group list to the policy plugin. +# If the user is a member of the maximum number of groups (usually 16), +# sudo will query the group database directly to be sure to include +# the full list of groups. +# +# On some systems, this can be expensive so the behavior is configurable. +# The "group_source" setting has three possible values: +# static - use the user's list of groups returned by the kernel. +# dynamic - query the group database to find the list of groups. +# adaptive - if user is in less than the maximum number of groups. +# use the kernel list, else query the group database. +# +#Set group_source static