Get sudoers information for all users on a server

Posted by Jon Kruger on Super User See other posts from Super User or by Jon Kruger
Published on 2011-01-11T13:51:03Z Indexed on 2011/01/11 13:55 UTC
Read the original article Hit count: 150

Filed under:
|
|

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?

© Super User or respective owner

Related posts about unix

Related posts about sudo