[asterisk-users] Running as non-root
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sun Oct 23 14:19:15 CDT 2011
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: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