[systemd-devel] Simple question.

Kok, Auke-jan H auke-jan.h.kok at intel.com
Fri Jan 25 14:35:16 PST 2013


On Fri, Jan 25, 2013 at 9:16 AM, Reindl Harald <h.reindl at thelounge.net> wrote:
>
>
> Am 25.01.2013 18:14, schrieb Mantas Mikulėnas:
>> On Fri, Jan 25, 2013 at 6:50 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>>> Am 25.01.2013 17:42, schrieb Daniel J Walsh:
>>>> How would I write a unit file to run an apache service as the user dwalsh (3267)
>>> why would someone do this with systemd?
>>> httpd needs to get started as root to bind the port!
>>
>> Not if you give it the CAP_NET_BIND_SERVICE capability.
>> Also, there are many valid uses for Apache on ports above 1024
>
> and what does this change in the fact that httpd has
> it's own configuration options for user and group?

Users may not have root permissions in the first place?

It's not a weird question, I used to do this with apache-1.3 and run
it under xinetd.

Auke


More information about the systemd-devel mailing list