[asterisk-users] asterisk.conf and it's impact on CLI

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Oct 20 14:02:30 CDT 2007


On Sat, Oct 20, 2007 at 11:57:05PM +0530, Jaswinder Singh wrote:
> astrundir => /var/run
>  Change this to astrundir => /var/run/asterisk  on 1.4 server and chmod
> /var/run/asterisk to 777 . make sure u create that directory as well .

chmod 777 (or even 666) to the control socket (asterisk.ctl) allows
everybody on the system to write to it, and hence have full control of
Asterisk. In short: bad. You fix things with chown, not with chmod
666/777 .

And anyway, for it to have a lasting effect you need to set up the
permissions in asterisk.conf anyway.

-- 
               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