[rabbitmq-discuss] Problem running rabbitmq as a non-privileged user

Matthias Radestock matthias at lshift.net
Fri Apr 3 10:49:14 BST 2009


Jonathan Stott wrote:
> On Fri, 03 Apr 2009 10:13:11 +0100
> Matthias Radestock <matthias at lshift.net> wrote:
>> You may want to look at the Debian and RPM packages for clues as to how 
>> to get rabbit to run as a different user, since they do precisely that.
> It appears that they don't, actually.

They certainly do.

> (Unless I'm misreading the file in init.d when I download and extract
> the .deb) They do set the USER environmental variable to 'rabbitmq',
> but then they do nothing with it, as far as I can make out.

The switching to the rabbitmq users happens in the wrapper scripts which 
are installed in /usr/sbin. They then in turn call the normal scripts in 


More information about the rabbitmq-discuss mailing list