Comment 24 for bug 395281

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 395281] Re: pam_ck_connector.so is called for non-login sessions

Simon MacMullen [2011-12-05 10:58 -0000]:
> So if I can't use su, what can I use? I want to start the rabbit process
> as the "rabbitmq" user, and Erlang programs can't easily setuid(3). I'm
> not aware of an alternative to su, but I could well be ignorant.

In the Debian world we use start-stop-daemon with the -c/-g options,
see the manpage.

Thanks, Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)