Is there any way to change the process user (logon user) for a running script??
| From: | Jeffrey D. Means | Date: | Thu, 09 May 2002 21:42:01 +0000 |
| Subject: | Is there any way to change the process user (logon user) for a running script?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96875@lists.php.net to get a copy of this message | ||
I have come across a situation where I need to temporarly change the user
profile in the middle of a script. I would prefer to do this than to change
ownership of files to allow the script to be able to read them. I don't
know whose files I will be reading when the script runs, however I need to
be able to read files from /home/*/Mail on a user by user basis. Is this
possible??
Jeff Means
CIO for PicoTech.NET