Closed AZaugg closed 6 months ago
The logic in that conditional was inverted, netgroup_query should be disabled when netgroup_base is not defined. This is now fixed by https://github.com/sudo-project/sudo/commit/5fbf7a3625cc199e8f350af88c1120e45fa17bf4.
When NETGROUP_BASE is defined the NETGROUP_QUERY toggle is no longer usable. Correcting this behaviour so regardless of NETGROUP_BASE being defined, users are still capable of toggling NETGROUP_QUERY, allowing a user to query netgroups directly, preserving the indended behaviour of this configuration option.
Unable to toggle netgroup_query when sudoers_base is set, breaking the intended behaviour called out by the man page