Re: Replace (ALL) with (ALL:ALL) in sudoers file
"Todd C. Miller" <[email protected]> Sat, 04 Dec 2021 16:27:59 -0700
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 04 Dec 2021 17:49:41 -0500, Justin Spencer wrote: > Justification: Allow "sudo -g anyone" and "sudo -u anyone -g anytwo" > > When only the user (ALL) is specified explicitly, and the group is > implied, only sudo -u works. Specifying both the user and group, like > (ALL:ALL), is required to: > > 1. Use sudo -g by itself (with no -u user) > 2. Use sudo -u and -g together, with a -g group that is different from > the -u user's primary group Sure, there's really no reason not to. Merged now. - todd ____________________________________________________________ sudo-workers mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-workers