[asterisk-users] asterisk at non-root / zaptel

Robert McNaught robert.mcnaught at gmail.com
Mon Oct 15 12:38:09 CDT 2007


Hi,

In the 2nd edition of the Asterisk book, there is a section recommending
running asterisk as non-root - tried this and it works.  However,
asterisk does not have permissions to view certain files relating to
zaptel as in the following 'zap show status' command in the * CLI

What would be the best way to get round this, in terms of reliability
and security?  Is there a way to allow the user 'asterisk' access to the
necessary files?  Or would it be better to run the zaptel service as the
same user as 'asterisk' is running as?  Does anyone have any thoughts on
this

BTW, the /dev/zap/ctl file exists and zap is starting with errors or
alarms.

No Zaptel interface found.
[Oct 15 10:31:21] WARNING[7036]: chan_zap.c:10026 zap_show_status:
Unable to open /dev/zap/ctl: No such file or directory
localhost*CLI>  


Cheers

Robert McNaught
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071015/a416d530/attachment.htm 


More information about the asterisk-users mailing list