in reply to set the User within a script
I'm sorry you can't.
You will have to either contact the site administrator that you need privileges to run as another user,
or change the software to run as the user that's running the webserver - or even as any user.
Maybe you want to look at Running a daemon process as another user for how changing a user name could be done in a different set up
... although it doesn't apply to your situation.
Cheers, Sören
|
|---|