[asterisk-users] ZapRAS priviledge error

Kevin P. Fleming kpfleming at digium.com
Mon Jan 4 07:48:05 CST 2010


Will Payne wrote:

> I'm trying to get ZapRAS working but not getting very far..
> 
> Asterisk CLI shows:
> WARNING[3355]: app_zapras.c:173 run_ras: wait4 returned -1: No child processes
> 
> and /var/log/messages shows:
> using the plugin option requires root privilege
> 
> 
> Can anyone shed any light on this and any fix? Googling the error doesn't find much..
> I'm not sure what 'plugin' it is talking about, I'm not passing any plugin option to zapras..

ZapRAS forks off to pppd to handle the PPP session, it does not
implement PPP itself. You will have to be running Asterisk as root for
this to work, or provide a wrapper for pppd that ZapRAS can execute with
the suid bit set so that pppd runs with root privileges.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list