On Thu, Oct 20, 2011 at 09:02:14AM +0200, Torbjörn Abrahamsson wrote:
> Thanks for all answers. 
> 
> One further question: If I run Asterisk as root, and set its group in
> asterisk.conf to apache, and make no changes to file/folder permissions,
> will I be able to run "asterisk -rx 'clicmd'" from a php-script (running as
> user apache with group apache)?

1. Why would you want to run Asterisk as root?
2. Why set the group to apache (if you're root anyway why do you care)?
3. If asterisk.ctl has the proper permissions, other users may issue
   some CLI commands, see 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

Reply via email to