[asterisk-users] Running as non-root

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Oct 23 14:16:03 CDT 2011


On Wed, Oct 19, 2011 at 10:11:08AM -0400, David Backeberg wrote:

> If you use DAHDI, you need to change ownership of /dev/dahdi/* to the
> non-root owner. I ended up rolling that into the init script for
> dahdi.

The init script of DAHDI or asterisk is the wrong place for that.

If you're one of those who actually uses static files, you set their
permissions at creation time or whenever.

The rest of you: set the permissions in udev rules, as in the ones
included with DAHDI. This avoids any potential races and unnecessary
work.

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