in reply to Re^3: How to change the userid of a running external process
in thread How to change the userid of a running external process
Suexec and suphp are the reason I am trying this.
It gives loads of complications since apache keeps running as apache so generated files (like uploaded images) must have permissions in a way that apache kan read it.
And suphp sort of cancels the whole point of php (being fast) and also has many other problems.
So any of the cgi options are not what I am looking for.
And I use embperl for my own sites
I think (but I am not sure) it would all ready be much faster than suphp if I fork a child, change to the userid of the child to what I need and then let the forked child die when it is done, every request. But I still think this solution is a bad idea too.
So I am still looking for a way to have a process with root permissions change other processes userids.
Help?</?>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to change the userid of a running external process
by afoken (Chancellor) on Jul 24, 2010 at 18:19 UTC | |
|
Re^5: How to change the userid of a running external process
by morgon (Priest) on Jul 22, 2010 at 22:04 UTC |