[asterisk-users] asterisk appache issue
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Jun 19 12:59:02 CDT 2010
On Sat, Jun 19, 2010 at 12:23:44AM -0700, Steve Edwards wrote:
> On Sat, 19 Jun 2010, pankaj pandey wrote:
>
> > how can i give the root permission to apache ?
>
> 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 .
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list