[Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

Marconi Rivello marconirivello at gmail.com
Tue Sep 7 15:37:41 MST 2004


On Tue, 07 Sep 2004 16:36:20 -0500, john lawler
<asterisk-users.lists.digium.com at tgice.com> wrote:
> > doesn't mpg123 bid to some port? try to make it suid maybe...
> 
> Not positive, but this sounds right.  What exactly do you mean by 'make
> it (what?) suid' ?  Some clarification would be helpful.
> 
> Thanks,
> 
> jl

mpg123 writes to standard output... no ports.
But, the suid might actually work. chmod +s mpg123. It makes mpg123
run as the owner (if you set the owner to be root, then it will be run
as root).

Marconi.



More information about the asterisk-users mailing list