[sudo-users] test-sudoers.py - Python script to test a sudoers file

Joel Heenan joel.heenan at gmail.com
Tue Nov 11 23:23:01 EST 2008

sudo-users list,

I wrote a script that parses a sudoers file and can print out who can
run what commands on which hosts. It can also test whether a
particular user can run a particular command and return a status code
indicating as much.

You can find it here:



More information about the sudo-users mailing list