getting php to run as another user?
From: cool (coo_at_goontrytospamme.dk)
Date: 09/24/04
- Previous message: cool: "Re: multi-file upload - $_POST not working..."
- Next in thread: Nikolai Chuvakhin: "Re: getting php to run as another user?"
- Reply: Nikolai Chuvakhin: "Re: getting php to run as another user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Sep 2004 08:25:55 +0200
I have a task I need to perform but am not sure the best way to do it, so
I hope someone out there can give me a tip.
I need to have my PHP script move uploaded files from the server where the
php scripts are (Linux, with Apache 2 and PHP 4.2.2), to another machine,
which is a Windows machine. Our Windows system administrator will set up
a user named "george" or something, who will have the permission to write
files to the target directories on the windows machine.
But PHP running as an Apache module runs as user "apache"
(this is what I set up apache to call itself). I don't wish to
change my httpd configuration to have apache run as "george",
so how do I get PHP to run its script as "george" in order to
be allowed to move the files to the windows machine?
Thanks!
Steve, Denmark
- Previous message: cool: "Re: multi-file upload - $_POST not working..."
- Next in thread: Nikolai Chuvakhin: "Re: getting php to run as another user?"
- Reply: Nikolai Chuvakhin: "Re: getting php to run as another user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|