I need a shell (ksh) script that can be executed locally on a box that will return
a list of users who have
sudo access to a server and what commands they can run.
For example I want to know that user “mfly” can run
I'm trying to make this as system agnostic as possible as I'm working with everything from Solaris 9 to HP/UX as well as Debian based systems. If I can get a lead into the right direction on what system, I'm sure I can make it portable though.