]> granicus.if.org Git - sudo/log
sudo
11 years agoAdd -Wsign-compare to --enable-warnings
Todd C. Miller [Wed, 23 Oct 2013 21:02:22 +0000 (15:02 -0600)]
Add -Wsign-compare to --enable-warnings

11 years agoIgnore SIGPIPE when connecting to the LDAP server so we can get a
Todd C. Miller [Wed, 23 Oct 2013 17:15:24 +0000 (11:15 -0600)]
Ignore SIGPIPE when connecting to the LDAP server so we can get a
proper error message with the IBM LDAP libs.  Also return LDAP_SUCCESS
instead of 0 from most sudo_ldap_* functions that return an int.

11 years agoQuiet compiler warnings.
Todd C. Miller [Wed, 23 Oct 2013 15:43:36 +0000 (09:43 -0600)]
Quiet compiler warnings.

11 years agosudo_ldap_parse_uri() should join multiple URIs in the string list
Todd C. Miller [Tue, 22 Oct 2013 22:52:23 +0000 (16:52 -0600)]
sudo_ldap_parse_uri() should join multiple URIs in the string list
together but it was clearing the host entry each time through the
loop.  Fixes a bug with multiple URI entries in ldap.conf where
only the last one was being honored.

11 years agoAvoid a double free introduced when plugging a memory leak in
Todd C. Miller [Tue, 22 Oct 2013 21:54:41 +0000 (15:54 -0600)]
Avoid a double free introduced when plugging a memory leak in
safe_close().  A new ev_free_by_fd() function is used to remove and
free any events sharing the specified fd.  This can be used after
safe_close() to make sure we don't try to select() on a closed fd.

11 years agoQuiet some llvm check false positives. The common idiom of using
Todd C. Miller [Tue, 22 Oct 2013 20:58:00 +0000 (14:58 -0600)]
Quiet some llvm check false positives.  The common idiom of using
TAILQ_FIRST, TAILQ_REMOVE and free in a loop to free each entry in
a TAILQ confuses llvm.  Use TAILQ_FOREACH_SAFE instead (which is
probably faster anyway).

11 years agoIf pam_open_session() fails don't call pam_getenvlist() with a NULL
Todd C. Miller [Tue, 22 Oct 2013 20:47:51 +0000 (14:47 -0600)]
If pam_open_session() fails don't call pam_getenvlist() with a NULL
pam handle.

11 years agoFix newly introduced use after frees found by llvm checker.
Todd C. Miller [Tue, 22 Oct 2013 16:43:15 +0000 (10:43 -0600)]
Fix newly introduced use after frees found by llvm checker.

11 years agoRemove an errant list_next() call that should have been removed
Todd C. Miller [Tue, 22 Oct 2013 15:33:12 +0000 (09:33 -0600)]
Remove an errant list_next() call that should have been removed
in the TAILQ conversion.

11 years agoAdd "headless" tail queues and use them in place of the semi-circular
Todd C. Miller [Tue, 22 Oct 2013 15:08:38 +0000 (09:08 -0600)]
Add "headless" tail queues and use them in place of the semi-circular
lists in sudoers.  Once the headless tail queue is built up it is
converted to a normal TAILQ.  This removes the last consumer of
list.c and list.h so those can now be removed.

11 years agoUse SLIST and STAILQ macros instead of doing headless singly linked
Todd C. Miller [Tue, 22 Oct 2013 15:08:09 +0000 (09:08 -0600)]
Use SLIST and STAILQ macros instead of doing headless singly linked
lists manually.  As a bonus we now use a tail queue for ldap.c and
sudoreplay.c.

11 years agoConvert sudo to use BSD TAILQ macros instead of home ground tail
Todd C. Miller [Tue, 22 Oct 2013 15:00:37 +0000 (09:00 -0600)]
Convert sudo to use BSD TAILQ macros instead of home ground tail
queue functions.  This includes a private queue.h header derived
from FreeBSD.  It is simpler to just use our own header rather than
try to deal with macros that may or may not be present in various
queue.h incarnations.

11 years agoFix AND operator broken by changes to fix OR.
Todd C. Miller [Mon, 21 Oct 2013 22:00:29 +0000 (16:00 -0600)]
Fix AND operator broken by changes to fix OR.

11 years agoFix OR operator.
Todd C. Miller [Sat, 19 Oct 2013 22:59:08 +0000 (16:59 -0600)]
Fix OR operator.

11 years agoFix memory leak of I/O buffer events in safe_close().
Todd C. Miller [Fri, 18 Oct 2013 22:28:49 +0000 (16:28 -0600)]
Fix memory leak of I/O buffer events in safe_close().

11 years agoDon't allow the debug subsystem to be initialized twice.
Todd C. Miller [Wed, 16 Oct 2013 22:44:21 +0000 (16:44 -0600)]
Don't allow the debug subsystem to be initialized twice.
Otherwise we can exhuast our stack when built in static mode.

11 years agoMake sure we do not try to usie index -1 in base->pfds[].
Todd C. Miller [Wed, 16 Oct 2013 22:08:54 +0000 (16:08 -0600)]
Make sure we do not try to usie index -1 in base->pfds[].

11 years agoBump version to 1.8.9
Todd C. Miller [Mon, 14 Oct 2013 17:00:12 +0000 (11:00 -0600)]
Bump version to 1.8.9

11 years agoConvert the monitor process to the event subsystem.
Todd C. Miller [Sat, 12 Oct 2013 11:57:42 +0000 (05:57 -0600)]
Convert the monitor process to the event subsystem.

11 years agoConvert the main sudo event loop to use the event subsystem.
Todd C. Miller [Sat, 12 Oct 2013 11:53:52 +0000 (05:53 -0600)]
Convert the main sudo event loop to use the event subsystem.
Read events for I/O buffers are added before the loop starts.
Write events are added on demand as the buffers are filled.

11 years agoSimple event subsystem that uses poll() or select(). Basically a
Todd C. Miller [Sat, 12 Oct 2013 11:53:43 +0000 (05:53 -0600)]
Simple event subsystem that uses poll() or select().  Basically a
simplied subset of libevent2.  Currently only fd events are supported
(since that's all we need).  The poll() backend is used by default,
except on Mac OS X where poll() is broken for devices (including
/dev/tty and ptys).

11 years agoUse SOCK_STREAM for socketpair, not SOCK_DGRAM so we get consistent
Todd C. Miller [Sat, 12 Oct 2013 11:39:02 +0000 (05:39 -0600)]
Use SOCK_STREAM for socketpair, not SOCK_DGRAM so we get consistent
semantics when the other end closes.  This should make the conversion
to poll() less problematic.

11 years agoFix removal of trailing newlines in a debug message.
Todd C. Miller [Sun, 6 Oct 2013 20:22:14 +0000 (14:22 -0600)]
Fix removal of trailing newlines in a debug message.

11 years agoWhen checking for unused Runas_Aliases, count those used as part
Todd C. Miller [Fri, 4 Oct 2013 22:22:25 +0000 (16:22 -0600)]
When checking for unused Runas_Aliases, count those used as part
of a Runas Group too.  Fixes a false positive warning.

11 years agoInclude stddef.h for rsize_t and errno_t on systems that support
Todd C. Miller [Mon, 30 Sep 2013 00:35:34 +0000 (18:35 -0600)]
Include stddef.h for rsize_t and errno_t on systems that support
it natively.

11 years agoFix braino.
Todd C. Miller [Sun, 29 Sep 2013 21:09:43 +0000 (15:09 -0600)]
Fix braino.

11 years agoRebuild message catalog files.
Todd C. Miller [Sun, 29 Sep 2013 21:04:11 +0000 (15:04 -0600)]
Rebuild message catalog files.

11 years agoRebuild message catalog files.
Todd C. Miller [Sun, 29 Sep 2013 20:59:18 +0000 (14:59 -0600)]
Rebuild message catalog files.

11 years agoCzech translation for sudo from translationproject.org.
Todd C. Miller [Sun, 29 Sep 2013 20:45:28 +0000 (14:45 -0600)]
Czech translation for sudo from translationproject.org.

11 years agoSync with translationproject.org
Todd C. Miller [Wed, 18 Sep 2013 17:49:24 +0000 (11:49 -0600)]
Sync with translationproject.org

11 years agoChange "next" back to 2. In the context of "next Friday" we really
Todd C. Miller [Wed, 18 Sep 2013 17:48:26 +0000 (11:48 -0600)]
Change "next" back to 2.  In the context of "next Friday" we really
do want the friday of the upcoming (not current) week.  Unfortunately,
this means that things like "next week" and "next year" will match
one more than we really want.  Fixing this will require some fairly
major changes to the grammar.

11 years agoMention that relative times don't always do what you might expect.
Todd C. Miller [Wed, 18 Sep 2013 17:48:07 +0000 (11:48 -0600)]
Mention that relative times don't always do what you might expect.

11 years agoAdd diacritical for Zdenek Behan.
Todd C. Miller [Tue, 17 Sep 2013 17:57:01 +0000 (11:57 -0600)]
Add diacritical for Zdenek Behan.

11 years agoDo not fail if ttyname() cannot determine the tty but sudo can.
Todd C. Miller [Wed, 11 Sep 2013 17:20:05 +0000 (11:20 -0600)]
Do not fail if ttyname() cannot determine the tty but sudo can.
Should fix problems with running "make check" under pbuilder.

11 years agoRemove extraneous $$CWD; from Bdale Garbee
Todd C. Miller [Wed, 11 Sep 2013 17:15:47 +0000 (11:15 -0600)]
Remove extraneous $$CWD; from Bdale Garbee

11 years agoMake "this" and "next" qualifiers work a bit better. There is still
Todd C. Miller [Mon, 9 Sep 2013 22:41:27 +0000 (16:41 -0600)]
Make "this" and "next" qualifiers work a bit better.  There is still
room for improvement as "this week" will use the current time instead
of the beginning of the week.  That's a separate issue though.

11 years agoMark main() public to silence a warning on HP-UX.
Todd C. Miller [Fri, 6 Sep 2013 16:17:00 +0000 (10:17 -0600)]
Mark main() public to silence a warning on HP-UX.

11 years agoBe specific that we are talking about the Unix epoch; bug #615
Todd C. Miller [Tue, 3 Sep 2013 20:50:28 +0000 (14:50 -0600)]
Be specific that we are talking about the Unix epoch; bug #615

11 years agoDo not use "setup" as a verb; bug #614
Todd C. Miller [Tue, 3 Sep 2013 20:47:34 +0000 (14:47 -0600)]
Do not use "setup" as a verb; bug #614

11 years agoFix logic goof when checking open() status.
Todd C. Miller [Tue, 3 Sep 2013 17:24:31 +0000 (11:24 -0600)]
Fix logic goof when checking open() status.

11 years agoSync with translationproject.org
Todd C. Miller [Tue, 3 Sep 2013 15:40:53 +0000 (09:40 -0600)]
Sync with translationproject.org

11 years agoWork around a bug in sudo 1.8.7 timing files where the indexes are
Todd C. Miller [Tue, 3 Sep 2013 15:39:35 +0000 (09:39 -0600)]
Work around a bug in sudo 1.8.7 timing files where the indexes are
off by two.

11 years agoRepair writing of the I/O log file indices broken in sudo 1.8.7.
Todd C. Miller [Tue, 3 Sep 2013 15:22:44 +0000 (09:22 -0600)]
Repair writing of the I/O log file indices broken in sudo 1.8.7.

11 years agoTry to improve the PAGERS noexec example a bit.
Todd C. Miller [Sat, 31 Aug 2013 12:11:25 +0000 (06:11 -0600)]
Try to improve the PAGERS noexec example a bit.

11 years agoDocument comment character in ldap.conf
Todd C. Miller [Fri, 30 Aug 2013 20:27:26 +0000 (14:27 -0600)]
Document comment character in ldap.conf
Clarify what is and is not supported in TLS_KEYPW
Mention that gsk8capicmd can be used to create a stash file

11 years agoNew bugs fixed for 1.8.8.
Todd C. Miller [Mon, 26 Aug 2013 20:47:45 +0000 (14:47 -0600)]
New bugs fixed for 1.8.8.

11 years agoFix setting of quiet flag when -q / --quiet is specified.
Todd C. Miller [Mon, 26 Aug 2013 20:40:25 +0000 (14:40 -0600)]
Fix setting of quiet flag when -q / --quiet is specified.
Do not print "sudoers: parsed OK" in quiet mode.

11 years agoUpdated translations from translationproject.org
Todd C. Miller [Mon, 26 Aug 2013 13:04:49 +0000 (07:04 -0600)]
Updated translations from translationproject.org

11 years agoDon't allow root to change its SELinux role without a password.
Todd C. Miller [Mon, 26 Aug 2013 13:04:19 +0000 (07:04 -0600)]
Don't allow root to change its SELinux role without a password.
Bug #611

11 years agoMention new Mac OS X symbol interposition.
Todd C. Miller [Wed, 21 Aug 2013 16:17:14 +0000 (10:17 -0600)]
Mention new Mac OS X symbol interposition.

11 years agoUpdated translations from translationproject.org
Todd C. Miller [Wed, 21 Aug 2013 16:10:48 +0000 (10:10 -0600)]
Updated translations from translationproject.org

11 years agoAdd configure checks for the exec functions we will dummy out. This
Todd C. Miller [Wed, 21 Aug 2013 16:09:04 +0000 (10:09 -0600)]
Add configure checks for the exec functions we will dummy out.  This
is only really needed on Mac OS X when symbol interposition is being
performed but won't hurt elsewhere.

11 years agoFix installation of sudo_noexec on Mac OS X.
Todd C. Miller [Tue, 20 Aug 2013 21:14:17 +0000 (15:14 -0600)]
Fix installation of sudo_noexec on Mac OS X.
Use library symbol interposition on Mac OS X 10.4 and higher so
we don't need to set DYLD_FORCE_FLAT_NAMESPACE=1.

11 years agoFix error display from ldap_ssl_client_init(). There are two error
Todd C. Miller [Sat, 17 Aug 2013 11:08:20 +0000 (07:08 -0400)]
Fix error display from ldap_ssl_client_init().  There are two error
codes.  The return value can be decoded via ldap_err2string() but the
ssl reason code cannot (you have to look it up in a table online).

11 years agoFix typo in tls_key example for Tivoli
Todd C. Miller [Mon, 19 Aug 2013 19:19:35 +0000 (13:19 -0600)]
Fix typo in tls_key example for Tivoli

11 years agoDon't escape '$' when running "sudo -i command". Bug #564
Todd C. Miller [Mon, 19 Aug 2013 16:40:05 +0000 (10:40 -0600)]
Don't escape '$' when running "sudo -i command".  Bug #564

11 years agoFix typo in comment.
Todd C. Miller [Mon, 19 Aug 2013 15:19:52 +0000 (09:19 -0600)]
Fix typo in comment.

11 years agoFix comment.
Todd C. Miller [Mon, 19 Aug 2013 15:19:24 +0000 (09:19 -0600)]
Fix comment.

11 years agoQuiet some gcc -Wformat=2 false positives
Todd C. Miller [Mon, 19 Aug 2013 12:39:33 +0000 (06:39 -0600)]
Quiet some gcc -Wformat=2 false positives

11 years agoRemove now-obsolete arg to env_merge()
Todd C. Miller [Sun, 18 Aug 2013 20:33:35 +0000 (14:33 -0600)]
Remove now-obsolete arg to env_merge()

11 years agoUpdated translations from translationproject.org
Todd C. Miller [Sun, 18 Aug 2013 20:25:23 +0000 (14:25 -0600)]
Updated translations from translationproject.org

11 years agoFrench translation for sudo from translationproject.org.
Todd C. Miller [Sun, 18 Aug 2013 20:25:04 +0000 (14:25 -0600)]
French translation for sudo from translationproject.org.

11 years agoAdd __printflike to audit_failure.
Todd C. Miller [Sun, 18 Aug 2013 20:21:29 +0000 (14:21 -0600)]
Add __printflike to audit_failure.

11 years agoUse __nonnull__ attribute in __printflike.
Todd C. Miller [Sun, 18 Aug 2013 20:18:55 +0000 (14:18 -0600)]
Use __nonnull__ attribute in __printflike.

11 years agoWhen merging the PAM environment, allow environment variables set
Todd C. Miller [Sat, 17 Aug 2013 12:34:09 +0000 (06:34 -0600)]
When merging the PAM environment, allow environment variables set
in PAM to override ones set by sudo as long as they do not match
the env_keep or env_check lists.

11 years agoCall pam_getenvlist() after we've opened the session to get the
Todd C. Miller [Sat, 17 Aug 2013 12:22:46 +0000 (06:22 -0600)]
Call pam_getenvlist() after we've opened the session to get the
session-specific environment variables.

11 years agooption not flag
Todd C. Miller [Fri, 16 Aug 2013 20:56:59 +0000 (14:56 -0600)]
option not flag

11 years agoDon't redefine opterr, optind, optopt, optarg in getopt_long.c.
Todd C. Miller [Fri, 16 Aug 2013 19:50:48 +0000 (13:50 -0600)]
Don't redefine opterr, optind, optopt, optarg in getopt_long.c.
Add a check for optreset which is a BSD extension and provide a
definition in getopt_long.c if it is not present.

11 years agoregen
Todd C. Miller [Fri, 16 Aug 2013 16:18:34 +0000 (10:18 -0600)]
regen

11 years agoUse lower case for the long option arguments to match the manual.
Todd C. Miller [Fri, 16 Aug 2013 16:17:47 +0000 (10:17 -0600)]
Use lower case for the long option arguments to match the manual.
This is inconsistent with GNU but it is better to match the sudo
documentation.

11 years agoSudo 1.8.8
Todd C. Miller [Fri, 16 Aug 2013 16:14:45 +0000 (10:14 -0600)]
Sudo 1.8.8

11 years agoUse lower card for the long option arguments to match the manual.
Todd C. Miller [Fri, 16 Aug 2013 15:41:46 +0000 (09:41 -0600)]
Use lower card for the long option arguments to match the manual.
This is inconsistent with GNU but it is better to match the sudo
documentation.

11 years agoDescribe how remote command execution can be implemented.
Todd C. Miller [Fri, 16 Aug 2013 15:31:46 +0000 (09:31 -0600)]
Describe how remote command execution can be implemented.

11 years agoBump version.
Todd C. Miller [Fri, 16 Aug 2013 15:30:50 +0000 (09:30 -0600)]
Bump version.

11 years agoMake it a fatal error if the plugin returns invalid or out of range
Todd C. Miller [Thu, 15 Aug 2013 22:39:47 +0000 (16:39 -0600)]
Make it a fatal error if the plugin returns invalid or out of range
command info.

11 years agoUse strtol() instead of atoi() and perform error checking
Todd C. Miller [Thu, 15 Aug 2013 22:20:15 +0000 (16:20 -0600)]
Use strtol() instead of atoi() and perform error checking
of parameters passed from the sudo front-end.

11 years agoIt is not possible for auth to be NULL here.
Todd C. Miller [Thu, 15 Aug 2013 21:22:50 +0000 (15:22 -0600)]
It is not possible for auth to be NULL here.

11 years agoInitialize user_runhost and user_srunhost to user_host and user_shost
Todd C. Miller [Thu, 15 Aug 2013 20:26:51 +0000 (14:26 -0600)]
Initialize user_runhost and user_srunhost to user_host and user_shost
in visudo and testsudoers.

11 years agoRename error.h -> fatal.h now that there is no error() function.
Todd C. Miller [Thu, 15 Aug 2013 20:24:29 +0000 (14:24 -0600)]
Rename error.h -> fatal.h now that there is no error() function.

11 years agoAdd support to the debug subsystem for zero-length strings. This
Todd C. Miller [Thu, 15 Aug 2013 20:09:53 +0000 (14:09 -0600)]
Add support to the debug subsystem for zero-length strings.  This
can happen for things like warning(NULL) or fatal(NULL) where we
just want to log the errno string.

11 years agoAdd __printflike for vfatal, vfatalx, vwarning and vwarningx.
Todd C. Miller [Thu, 15 Aug 2013 20:08:40 +0000 (14:08 -0600)]
Add __printflike for vfatal, vfatalx, vwarning and vwarningx.

11 years agoNeed to include gettext.h for BSM audit.
Todd C. Miller [Thu, 15 Aug 2013 19:36:25 +0000 (13:36 -0600)]
Need to include gettext.h for BSM audit.

11 years agoChange some fatalx(NULL) that should be fatal(NULL).
Todd C. Miller [Thu, 15 Aug 2013 19:06:49 +0000 (13:06 -0600)]
Change some fatalx(NULL) that should be fatal(NULL).

11 years agoUse __printf0like for warning() and fatal() since the fmt string
Todd C. Miller [Thu, 15 Aug 2013 18:58:24 +0000 (12:58 -0600)]
Use __printf0like for warning() and fatal() since the fmt string
may be NULL.

11 years agoQuiet a gcc "used uninitialized in this function" false positive.
Todd C. Miller [Thu, 15 Aug 2013 16:49:06 +0000 (10:49 -0600)]
Quiet a gcc "used uninitialized in this function" false positive.

11 years agoEnable bsm audit on Mac OS X and Solaris >= 11.
Todd C. Miller [Thu, 15 Aug 2013 16:41:48 +0000 (10:41 -0600)]
Enable bsm audit on Mac OS X and Solaris >= 11.

11 years agoFix compilation on Solaris 11.
Todd C. Miller [Thu, 15 Aug 2013 16:39:40 +0000 (10:39 -0600)]
Fix compilation on Solaris 11.

11 years agoAdd missing missing.h
Todd C. Miller [Thu, 15 Aug 2013 16:08:27 +0000 (10:08 -0600)]
Add missing missing.h

11 years agoMove the -C (user_closefrom) check until after set_cmnd() so that
Todd C. Miller [Thu, 15 Aug 2013 15:56:17 +0000 (09:56 -0600)]
Move the -C (user_closefrom) check until after set_cmnd() so that
closefrom_override can be used in a command-specific Defaults line.
Fixes bug #610 from Mengtao Sun.

11 years agoIf not using a pty and the child process gets SIGTTOU or SIGTTIN
Todd C. Miller [Wed, 14 Aug 2013 22:36:41 +0000 (16:36 -0600)]
If not using a pty and the child process gets SIGTTOU or SIGTTIN
and sudo is the foreground process, make the child the foreground
process and continue it.

11 years agoIf sudo is not setuid and was not invoked with a full path, look
Todd C. Miller [Wed, 14 Aug 2013 20:22:16 +0000 (14:22 -0600)]
If sudo is not setuid and was not invoked with a full path, look
in the user's PATH for the sudo binary to give a better error
message.

11 years agoAdd limited support for "sudo -l -h other_host". Since group lookups
Todd C. Miller [Wed, 14 Aug 2013 19:49:14 +0000 (13:49 -0600)]
Add limited support for "sudo -l -h other_host".  Since group lookups
are done on the local host, rules that use group membership may be
incorrect if the group database is not synchronized between hosts.

11 years agoFix parsing of "-h host" when used in conjunction with the -l flag.
Todd C. Miller [Wed, 14 Aug 2013 19:41:47 +0000 (13:41 -0600)]
Fix parsing of "-h host" when used in conjunction with the -l flag.

11 years agoSimplify usage messages a bit and make --help output more closely
Todd C. Miller [Wed, 14 Aug 2013 16:30:51 +0000 (10:30 -0600)]
Simplify usage messages a bit and make --help output more closely
resemble GNU usage wrt long options.  Sync usage and man page
SYNOPSYS sections and improve long options in the manual pages.
Now that we have long options we don't need to give the mnemonic
for the single-character options in the description.

11 years agoFix setting of mailer argv[0] to basename of mailerpath.
Todd C. Miller [Tue, 13 Aug 2013 20:53:55 +0000 (14:53 -0600)]
Fix setting of mailer argv[0] to basename of mailerpath.
No need to strdup() mailerpath as it is not modified.

11 years agoMake sure the mailer exists and is a regular file before trying
Todd C. Miller [Tue, 13 Aug 2013 20:48:24 +0000 (14:48 -0600)]
Make sure the mailer exists and is a regular file before trying
to exec it.

11 years agoIf tty_tickets are enabled but there is no tty, use a ticket file
Todd C. Miller [Tue, 13 Aug 2013 18:55:17 +0000 (12:55 -0600)]
If tty_tickets are enabled but there is no tty, use a ticket file
based on the parent pid.

11 years agoAllow default plugin dir to be configured in sudo.conf.
Todd C. Miller [Tue, 13 Aug 2013 18:24:28 +0000 (12:24 -0600)]
Allow default plugin dir to be configured in sudo.conf.

11 years agoUTF8 for Ruusamae, Elan; from Tae Wong
Todd C. Miller [Tue, 13 Aug 2013 16:37:52 +0000 (10:37 -0600)]
UTF8 for Ruusamae, Elan; from Tae Wong

11 years agoDon't allow max_groups to be set to zero, it just complicates things
Todd C. Miller [Mon, 12 Aug 2013 15:14:38 +0000 (09:14 -0600)]
Don't allow max_groups to be set to zero, it just complicates things
needlessly.  Fixes an assertion in visudo when there is a group-based
Defaults entry.