0
1
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.
If you at least have
root
privileges, you can install a newersudo
to your home directory (./configure --prefix ~/usr
or your location of choice), run it with-U
, then simply remove it. – user1686 – 2011-01-11T14:16:08.320I don't have root privileges or permission to install a newer sudo. – Jon Kruger – 2011-01-11T15:30:22.820