[rabbitmq-discuss] Configuring Users
Bell, Paul M.
pbell at syncsort.com
Fri Mar 9 21:29:04 GMT 2012
Jerry, thank you.
But let me make sure I understand: user names and passwords are NOT in rabbitmq.config; for Windows, rabbitmq.config will be in %APPDATA%\RabbitMQ\.
I see no rabbitmq.config in %APPDATA%\RabbitMQ\. I can only conclude from this that its presence is not required if all default configuration values are in effect (my case, I think).
Here's what's behind my question: I am thinking about the use of site-specific passwords, i.e., I don't want to ship a product to multiple customers and have these multiple instances of Rabbit share a common password for a fixed username.
Let's suppose that I have a means of generating, encrypting, and saving to disk a site-specific password for this fixed Rabbit user (maybe the username, common to all installations, is "syncsortRabbit" - whatever). Rabbit login code would then have to read the password from disk, decrypt it, and then convey it via connectionFactory.setPassword().
From another perspective, I cannot distribute a product whose Rabbit component has a pre-configured user all of whose passwords are identical. That is, each copy can have user "syncsortRabbit" and each can have an initial fixed password, but I would need a way to change that password to make it site-specific.
Perhaps, after generating a site-specific password, I could accomplish this via rabbitmqctl add_user.....?
Grateful for any ideas - thanks.
From: Jerry Kuch [mailto:jerryk at vmware.com]
Sent: Friday, March 09, 2012 4:06 PM
To: Bell, Paul M.
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Configuring Users
User names and passwords are actually stored in the Erlang/OTP
Mnesia database that Rabbit uses. Its location in the filesystem
varies depending on what platform you're running on, and whether
you've told it to go somewhere other than its platform specific
The details by platform are summarized here:
On Windows you'll find the rabbitmq.config file, which you'd use
if you wanted to move Mnesia elsewhere in %RABBITMQ_BASE%.
----- Original Message -----
From: "Paul M. Bell" <pbell at syncsort.com>
To: rabbitmq-discuss at lists.rabbitmq.com
Sent: Friday, March 9, 2012 12:17:21 PM
Subject: [rabbitmq-discuss] Configuring Users
I have RabbitMQ running on a Windows Server 2008 R2 box.
I for the first time tried to add a new user. Seems to have worked, I can login to that user, etc.
I though, perhaps wrongly, that in response to adding a user I would see a rabbit.config file created (or updated) somewhere on my C:\ drive. I have noticed some RabbitMQ config info kept in C:\...\AppData\Roaming\RabbitMQ. But I can find no evidence of a rabbitmq.config file anywhere on the C:\ drive.
Can someone tell me where RabbitMQ keeps user and password info?
The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control.
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss