[sudo-users] Conflict while a user is in two groups?
Bernard Fay
bernard.fay at gmail.com
Wed Oct 5 06:49:26 MDT 2016
Obviously, there is something I have to learn about rule matching...
Thanks! It works.
On Tue, Oct 4, 2016 at 2:49 PM, Todd C. Miller <Todd.Miller at courtesan.com>
wrote:
> In sudo the last matching rule wins. That means that users in group
> wheel will match:
>
> %wheel ALL=(ALL) ALL
>
> and must enter a password. If you swap the order of the rules so
> the NOPASSWD one is last it should behave the way you want.
>
> - todd
>
More information about the sudo-users
mailing list