[sudo-users] Parsing the sudoers file

Todd C. Miller Todd.Miller at courtesan.com
Mon Sep 16 09:51:23 MDT 2013


On Mon, 16 Sep 2013 15:50:42 +0100, Tim Bradshaw wrote:

> I suspect this is a common question: sorry if so.
> 
> I need to be able to parse the sudoers file to generate things like lists of 
> who can do what where, for the usual compliance reasons.

In sudo 1.8.8 you will be able to do things like:

    sudo -U otheruser -h otherhost -l

which may do what you need.  There is a release candidate for 1.8.8
out now: http://www.sudo.ws/devel.html

 - todd


More information about the sudo-users mailing list