[asterisk-users] asterisk appache issue

pankaj pandey pankaj.niet at yahoo.com
Mon Jun 21 04:25:39 CDT 2010


thanks for reply.

> 
> > how can i give the root permission to 
apache ?
> 
> sudo.

i also tried sudo . 
> 
> However, without 
careful configuration you will probably be giving root 
> access 
to any process that runs as your apache user.
> 
> I've 
never done it, but I'm guessing you could create a group, make your 
>
 asterisk user and your apache user members of that group and protect 
>
 resources appropriately.
> 
> What are you trying to 
accomplish that you can't using AMI, querying a 
> database, 
creating a call file or parsing a log file?

>Alternatively, as of 
1.6.1 (or is it 1.6.2) you have CLI permissions.
>You can allow 
anybody to write to the socket, but only a limited set of
>commands to
 the user 'apache' or whatever. See
>/etc/asterisk/cli_permissions.conf
 .

i am using asterisk 1.6.2 but did't find /etc/asterisk/cli_permissions.conf.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100621/bc27d66c/attachment.htm 


More information about the asterisk-users mailing list