Re: How to display group sudo rights

AvigdorFin <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <CA+zoCZx-VU4xsV4FjWLz4MQvLb-tCqFjPb-tw7W=u-RCJcVySw@mail.gmail.com>
Well,
When I define a group in sudoers, using %mygroup I expect to see and check
the group sudo definition.
I am not asking about using the group credentials, just to be able to get
the report of what this group is permitted to perform with sudo.
Reading the help message and the man page, did not help me.
I'd like to know if this option is possible at all.

What is the meaning of the help line:
usage: sudo -l [-g group]  [-h host] ....
that I receive when I try
sudo -l -g mygroup
Maybe there is some undocumented rule to combine some options with the -l
-g

When I do 'sudo -l -U user', I get the response I expect, but not with the
'-g group' flag

Is it a bug?

Thanks for relating to my message.
---
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.