sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

sudo -g with an "unitary" runas spec behaves differently

Open squell opened this issue 2 years ago • 0 comments

In original sudo, a user machine = (ALL) command sudoers line forbids the use of -g, even in cases when the group that you would add with -g is actually a group that your user is a part of.

Or to put it more succinctly, sudo-rs permits using a superfluous -g option. This has no security implications.

squell avatar Apr 04 '23 14:04 squell