[sudo-users] sudo -l minimum grants
daniele at retaggio.net
Tue Dec 19 11:53:41 MST 2017
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,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the sudo-users