[SPAM!] Daemons and tricky permissions
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Nov 21 20:17:13 CET 2006
On Tue, Nov 21, 2006 at 07:54:08PM +0100, Stefano Melchior wrote:
> On Tue, Nov 21, 2006 at 09:52:06AM -0500, Alejandro Rios Peña wrote:
> > I've also tried starting the daemons with "--group asterisk" and
> > "--chuid asterisk:asterisk", but it doesn't work.
>
> from the start-stop-daemon man page you should read:
>
> "-c|--chuid username|uid"
> ...
> "The --group option is only for groups that the user isn’t
> normally a member of (like adding per process group
> membership for generic users like nobody)."
>
> In your case you used the --group option and you also used the --chuid
> option with "asterisk:asterisk" argument. From my point of view you should
> use either "--chuid asterisk" or "--group asterisk".
IIRC setting just the group without explicitly setting the user will not
work (at least in Sarge). Hence the Asterisk init.d script has --chuid
root .
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the Pkg-voip-maintainers
mailing list