[Freeswitch-users] Spandsp modems as non-root?

Steven Schoch schoch+freeswitch.org at xwin32.com
Thu Apr 4 21:01:50 MSD 2013


On Tue, Apr 2, 2013 at 4:48 PM, Shahar <shaharhd at gmail.com> wrote:

> you might want to have a look at
> http://wiki.freeswitch.org/wiki/HylaFax#Modem_devices_permissions_issue
>

That's great!  ... and better than my solution, which was:

1. Create a 'dev' group in /etc/group with this line:
dev:x:11:freeswitch
2. Modify the startup script by adding this line before the 'daemon' line:
        chgrp dev /dev; chmod g+w /dev

Now that this patch is in, I can avoid giving the 'freeswitch' user more
permissions than it needs.

I also modified the start script to make the modem devices work with
HylaFax by adding this line after the 'daemon' line:

        (sleep 120; chgrp uucp /dev/FS*; chmod g+r /dev/FS*) &

This allows HylaFAX, which runs in the 'uucp' group, to access the modems.

-- 
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130404/2b147a31/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list