[sudo-users] Help needed on sudo -l

Todd C. Miller Todd.Miller at courtesan.com
Thu Dec 29 10:58:25 MST 2016

On Wed, 28 Dec 2016 22:48:27 +0530, Arumuganainar S wrote:

> I want to check a particular command is allowed in sudoers. I see that we
> can use the command "sudo -l <cmd>".
> But I see that this is not available in sudo version 1.6.9p23. It has the
> option -l. But we can not pass command name.

Sudo 1.6.9p23 has not been supported for several years now.  I
suggest you upgrade to a more recent version which will support
"sudo -l command".  You can find binary packages for many platforms
at https://www.sudo.ws/download.html

 - todd

 - todd

More information about the sudo-users mailing list