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:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users