[sudo-users] sudo -l minimum grants

Daniele Palumbo daniele at retaggio.net
Tue Dec 19 11:53:41 MST 2017


Hi,

i am wondering which are the minimum grants to use sudo -l.

Maybe this is a FAQ, but i was not able to find it in the man.

from the man of sudo -l:
“”"
If no command is specified, list the allowed (and forbidden) commands for the invoking user (or the user specified by the -U option) on the current host. A longer list format is used if this option is specified multiple times and the security policy supports a verbose output format.
If a command is specified and is permitted by the security policy, the fully-qualified path to the command is displayed along with any command line arguments. If command is specified but not allowed, sudo will exit with a status value of 1.
“””

Which are the minimum condition to run sudo -l?

Thank you very much,
Daniele
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://www.sudo.ws/pipermail/sudo-users/attachments/20171219/de6a52de/attachment.bin>


More information about the sudo-users mailing list