JupiterHost.Net wrote:
> Hello List!
> 
> I was trying to figure out how to see the user the script/webserver is
> running as. (Like Apache is 'nobody' or the owner 'foomonkey' perhaps
> with SuExec enabled)
> 
> I looked in %ENV and didn't see it in there.

Are you trying to find out from a CGI script being run by the web server in
question? If so, it's a matter of:

   print scalar(getpwuid($>));

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to