httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: running a module as a different uid
Date Tue, 04 Oct 2011 23:22:43 GMT
On Tue, 4 Oct 2011 23:43:44 +0100 (BST)
Doug Bridgens <> wrote:

> my question is, are there any suggestions as to something like switch uid 
> on a module basis ?  this module is only enabled for a specific 

You can't in general.  The uid is an attribute of the process,
not of some part of it.  There are various workarounds,
with setuid CGI (and variants on that) the most common.

But take a look at mod_privileges, which would enable you
to do what you want on Solaris.  You might be able to
hook into selinux to do something similar.

Nick Kew

View raw message