I'm writing a CGI user interface for starting/stopping system processes (other programs written by my group) on an AIX box. Mostly I am doing this by using backticks to call Korn shell scripts. I am having problems, though. Commands that work fine on the command line are not working the same from within Perl. One thing I noticed is that my command line username (mptsuser) is different that my CGI username (dcxhttpd). On top of being a potential reason why some commands refuse to execute properly, it adds another layer of trouble in that if the website goes down and my group needs to kill a running process, it can't. We can only log in as mptsuser, and the only way to kill a process started by dcxhttpd is for dcxhttpd (or root) to do it.
So I guess my question is, "how can I have my CGI run processes as though it were mptsuser?"