[Asterisk-bsd] setting permissions for asterisk and dahdi
Max Khon
fjoe at samodelkin.net
Sun Nov 7 12:19:20 CST 2010
Kurt,
On Thu, Aug 26, 2010 at 9:18 PM, Kurt Lidl <lidl at pix.net> wrote:
I've got an IP-only Asterisk-1.6 installation running on FreeBSD.
>
> (IP only in that the inbound trunking is coming over IAX,
> and then I have several SIP extensions registered to that
> installation.)
>
> I need to have dahdi timing for the IAX trunking to work.
>
> This has been working fine, but I had to change the Asterisk
> startup script to chmod the devices that dahdi creates.
> I'm sure there is some fancy devfs goo that could be done
> to make this happen, but I couldn't figure it out in 5 minutes,
> so I changed the startup script. (Included at the end of this
> message.)
>
> I wanted to run the entire asterisk configuration as a non-root
> user, which is also have I run the apache22 on that machine,
> which has "FreePBX" installed on it. (I submitted a couple of
> patches just before FreePBX 2.8 was released. Some of those made
> it into FreePBX tree, and some did not, but you can find them
> via their bug tracker interface.)
>
> It would be nice if there was a "reserved" UID:GID combination
> for running asterisk on FreeBSD in the /usr/ports framework.
> I have added some locally so my script can work, but I'd rather
> there was a "well known" default set that the Asterisk port
> would install on the system.
>
I've just committed a change to the net/asterisk16 port to run under
"asterisk" user/group.
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20101108/ba63102d/attachment.htm
More information about the Asterisk-BSD
mailing list