Bug#330385: asterisk running with group root

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Sep 27 20:37:34 UTC 2005


Package: asterisk
Version: 1.0.9.dfsg.1-3.1

A reminder: This is an old bug report that is about patching Asterisk to
allow multiple gid-s.

However on my tests settings it seems that Asterisk is running by
default with the permissions of the group root: initgroups was used to
set the supllementarry groups, but it seems that setgid or something
equivalent is not run.

As a simple test I added the following agi script:

#!/bin/sh
(id -a; groups) >/tmp/details


Output:

uid=106(asterisk) gid=0(root) groups=20(dialout),29(audio),103(asterisk)
root dialout audio asterisk

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com




More information about the Pkg-voip-maintainers mailing list