RabbitMQ 3.7.4 : Default user "guest " is not overriding.

5 views
Skip to first unread message

antite...@gmail.com

unread,
Mar 15, 2018, 3:21:17 AM3/15/18
to rabbitmq-users
Hi ,

 I am  trying to override  default user from config file but it is not working. I have change configuration like below.

Changes in rabbitmq.config :

   %%
   %% Default User / VHost
   %% ====================
   %%

   %% On first start RabbitMQ will create a vhost and a user. These
   %% config items control what gets created. See
   %% information about vhosts and access control.
   %%
    {default_vhost,       <<"/">>},
    {default_user,        <<"testuser">>},
    {default_pass,        <<"testuser">>},
    {default_permissions, [<<".*">>, <<".*">>, <<".*">>]},

   %% Tags for default user
   %%
   %% Related doc guide: http://www.rabbitmq.com/management.html.
   %%
     {default_user_tags, [administrator]}
     %%,


While i test the environment by rabbitmqctl environment then i get "testuser" as default user on console. But when i try to login in rabbitmq management with "testuser" then login fails. However "guest" is still working.

Please let  me know if i am missing something.

Michael Klishin

unread,
Mar 15, 2018, 4:29:22 AM3/15/18
to rabbitm...@googlegroups.com
Those settings are only applied when a node first initializes its database. Reset it and restart, then testuser will be created on first boot.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Staff Software Engineer, Pivotal/RabbitMQ

anti tech

unread,
Mar 15, 2018, 6:56:00 AM3/15/18
to rabbitm...@googlegroups.com
Thanks Michael.

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Staff Software Engineer, Pivotal/RabbitMQ

--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/uDTrgOPNlow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages