I want to collect information on what sudoers actions a user can perform on a server. From what I've read, you can do this with the command sudo -l -U username. However, one server that I have has a slightly older version of sudo (1.6.7p5) and the -U option doesn't seem to exist (I don't own the server so I can't just upgrade to a newer version of sudo).
Has anyone ever had to collect sudoers information for all users on a server? How would you recommend doing it?
EDIT: This has to be an automated process, so "just look at the sudoers file" won't work.
rootprivileges, you can install a newersudoto your home directory (./configure --prefix ~/usror your location of choice), run it with-U, then simply remove it. – grawity Jan 11 '11 at 14:16