in reply to Re: Re: Executing a program as another user
in thread Executing a program as another user

take a look at CGIwrap, I think it might fit your needs really nicelly, and would have sugested sooner if I knew you wanted to run the script as a CGI.

http://cgiwrap.unixtools.org/

Good luck,
Tiago
  • Comment on Re: Re: Re: Executing a program as another user