Hello,

Any thoughts on the topic below please ?
Apache dev-team, Eric, Rainer... ? :)

Many thanks !

Best regards,

Ben



> On 17 apr. 2016 at 00:00, Ben RUBSON :
> 
> Hello,
> 
> When Apache is started from root user (as all services are), even if it then 
> switches to the configured user:group, the rewritemap programs run under root 
> user.
> I use this "trick" under some circumstances to run some tasks under other 
> identities from a rewritemap program.pl :
> system("su - otheruser -c '/run/this/task -now'");
> 
> I was thinking about migrating this rewritemap program part to a more elegant 
> module solution.
> 
> However, when module is used, Apache has switched to configured user:group, I 
> then think I will not be able to run commands as root from a module.
> 
> Then my question is, could it be possible ?
> I could use sudo, but perhaps there's a more elegant built-in solution.
> 
> Thank you very much !
> 
> Best regards,
> 
> Ben


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to