[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Restarting Apache from Monit

From: Bill Kocik
Subject: Re: [monit] Restarting Apache from Monit
Date: Tue, 15 Sep 2009 09:01:22 -0400

Apache always starts as root, then switches to another non-root
account. It has to in order to bind to port 80.

(Sorry I don't have an answer to the original question about Monit)

On Tue, Sep 15, 2009 at 8:58 AM, Eric Pailleau <address@hidden> wrote:
> Amit Gupta 15 a écrit :
>> Hi All,
>>   I have installed monit in our environment from a user X. And I want to
>> monitor Apache and restart the Apache, if there is no response. Apache is
>> running from root.
> Are you sure Apache allow root start ????
> Even yes, it is not a good idea for obvious security reason.
> Rather use a " /bin/su - USER_X -c ..." to start Apache under USER_X user.
> regards
> --
> To unsubscribe:

Bill Kocik

reply via email to

[Prev in Thread] Current Thread [Next in Thread]