<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.14.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
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<BR>
<BR>
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<BR>
<BR>
BTW, the /dev/zap/ctl file exists and zap is starting with errors or alarms.<BR>
<BR>
No Zaptel interface found.<BR>
[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<BR>
localhost*CLI> <BR>
<BR>
<BR>
Cheers<BR>
<BR>
Robert McNaught
</BODY>
</HTML>