Noob question, but a good one. (It's actually Linux related!)

Jima jima at beer.tclug.org
Fri Apr 5 18:29:40 MDT 2013


On 2013-04-05 18:06, S. Dale Morrey wrote:
> Hey Pluggers,
>
> I've got a quick best practices question for you.
>
> I have asterisk installed and running as the asterisk user and apache
> installed and running as the apache user.
>
> I've got a new web interface that needs to execute some scripts to modify
> asterisk dialplans, tell asterisk to reload itself, etc.
>
> Would it be best to add asterisk to the apache group, apache to the
> asterisk group, both of the above or something else?

  Is there a reason Asterisk needs to be able to write to the tree?  As 
long as it can read the configuration files, you don't really need to 
muck around with group ownership.  Personally, I'd just grant the apache 
user the ability to reload Asterisk via sudo, and let it own the configs.

      Jima



More information about the PLUG mailing list