[sudo-workers] Negation operator in Defaults options
dkopecek at redhat.com
Wed Sep 26 13:22:45 EDT 2012
On 09/26/2012 04:38 PM, Todd C. Miller wrote:
> The way sudo does matching you need to be explicit if you want
> to match everything except certain words. For example:
> Defaults !requiretty
> Defaults:ALL,!user requiretty
> would do what you want. I can see how this might be surprising but
> I'm afraid it is too late to change this behavior. Whether requiring
> the explicit ALL is bug or a feature is debatable.
Oh, didn't realize that it could be done this way.
> I'll add a bit to the sudoers manual explaining this.
More information about the sudo-workers