in reply to Logging script usage when executed via sudo on *nix

I would use a setuid perl script (using suidperl) and then $< will contain the REAL_USER_ID of the user running the script, and $> will have the effective user id (root)

                - Ant
                - Some of my best work - Fish Dinner

  • Comment on Re: Logging script usage when executed via sudo on *nix