Apache2 safety?

Gordon Schulz gordon.schulz at gmail.com
Fri Aug 1 19:51:23 UTC 2008


On Fri, Aug 1, 2008 at 9:34 PM, Knapp <magick.crow at gmail.com> wrote:
> When I run this command, I get one instance that is running as root.
> As I understand it that is bad for safety reasons, right? How do I
> change it?
>
> apache2 mpm-worker kubuntu 8.04 64 bit.
>
> $ ps auwwfx | grep apache
>
> root      6758  0.0  0.2 123240  5240 ?        Ss   19:13   0:00
> /usr/sbin/apache2 -k start
> www-data  6759  0.0  0.1 121860  2344 ?        S    19:13   0:00  \_
> /usr/sbin/apache2 -k start
That's normal behaviour. One root process has to be there since
privileged ports have to be opened (port 80 the most prominent).
Subsequent processes that actually serve the content are then spawned
www-data owned.
-- 
Greetings,
 Gordon.




More information about the kubuntu-users mailing list