in reply to Executing a program as another user

You wouldn't have a problem if you just ran your perl program as the other user surely?
  • Comment on Re: Executing a program as another user

Replies are listed 'Best First'.
Re: Re: Executing a program as another user
by nomis80 (Sexton) on Feb 14, 2002 at 04:00 UTC
    The initial script is a CGI script and is therefore run as apache.apache.
      Ok now I get it. You didn't mention that you were referring to a CGI script. You're right, you shouldn't run any other programs as apache.apache for security reasons.