<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">(18/07/14 10:17), Ankur5 C wrote:<br>
</div>
<blockquote
cite="mid:OF8551CB4B.B3089471-ON65257D19.0032CFE0-65257D19.00330C21@tcs.com"
type="cite"><font face="sans-serif" size="2">Thanks , I am going
to use a new user.
Is it the right way . This time I am getting </font><font
color="red" face="Consolas" size="2">Bad
user name or password (4)</font><font face="sans-serif" size="2">.
How to
set up a new user ?</font>
<br>
<br>
<font face="Courier New" size="1">[{rabbit,
[{tcp_listeners,
[5672]},{ssl_listeners, [5671]}, </font>
<br>
<font face="Courier New" size="1">
{ssl_options,
[{cacertfile,"/etc/rabbitmq/testca/cacert.pem"},</font>
<br>
<font face="Courier New" size="1">
{certfile,"/etc/rabbitmq/server/cert.pem"},</font>
<br>
<font face="Courier New" size="1">
{keyfile,"/etc/rabbitmq/server/key.pem"},</font>
<br>
<font face="Courier New" size="1">
{verify,verify_peer},</font>
<br>
<font face="Courier New" size="1">
{fail_if_no_peer_cert,false}]}]},</font>
<br>
<font face="Courier New" size="2"> <b>{rabbitmq_mqtt,
[{default_user,
<<"cto">>},</b></font>
<br>
<font face="Courier New" size="2"><b>
{default_pass, <<"cto">>},</b></font>
<br>
...<br>
</blockquote>
Just to throw in my 2c, the <tt>default_user/default_pass</tt> are
only applied in the broker when it starts up with an empty database,
so when it first starts or after a <tt>rabbitmqctl reset</tt>. So,
whilst you could do that, Michael's suggestion of using <tt>rabbitmqctl
add_user</tt> is virtually always what you want. <br>
<br>
Hope that's useful.<br>
<br>
<blockquote
cite="mid:OF8551CB4B.B3089471-ON65257D19.0032CFE0-65257D19.00330C21@tcs.com"
type="cite"><font face="sans-serif" size="2"><br>
Thanks and Regards,<br>
Ankur Chakraborty<br>
</font>
<br>
<br>
<br>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">From:
</font><font face="sans-serif" size="1">Michael Klishin
<a class="moz-txt-link-rfc2396E" href="mailto:mklishin@gopivotal.com"><mklishin@gopivotal.com></a></font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">To:
</font><font face="sans-serif" size="1">Ankur5 C
<a class="moz-txt-link-rfc2396E" href="mailto:ankur5.c@tcs.com"><ankur5.c@tcs.com></a></font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Cc:
</font><font face="sans-serif" size="1">Legacy list about
RabbitMQ
<a class="moz-txt-link-rfc2396E" href="mailto:rabbitmq-discuss@lists.rabbitmq.com"><rabbitmq-discuss@lists.rabbitmq.com></a></font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Date:
</font><font face="sans-serif" size="1">18-07-2014 14:33</font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Subject:
</font><font face="sans-serif" size="1">Re:
[rabbitmq-discuss]
MQTT login failed for "guest" access_refused even after
mentioning
loopback_users</font>
<br>
<hr noshade="noshade">
<br>
<br>
<br>
<tt><font size="2">On 18 July 2014 at 13:00:44, Ankur5 C
(<a class="moz-txt-link-abbreviated" href="mailto:ankur5.c@tcs.com">ankur5.c@tcs.com</a>)
wrote:<br>
> > {loopback_users, []}<br>
<br>
loopback_users is a RabbitMQ server config setting, not the
MQTT plugin.<br>
<br>
The example on </font></tt><a moz-do-not-send="true"
href="http://www.rabbitmq.com/access-control.html"><tt><font
size="2">http://www.rabbitmq.com/access-control.html</font></tt></a><tt><font
size="2">
includes it in<br>
the "rabbit" app config.<br>
<br>
It is also highly recommended to use a new user with
non-obvious credentials<br>
rather than enabling remote access for "guest". <br>
-- <br>
MK <br>
<br>
Staff Software Engineer, Pivotal/RabbitMQ<br>
</font></tt>
<br>
<p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rabbitmq-discuss mailing list has moved to <a class="moz-txt-link-freetext" href="https://groups.google.com/forum/#!forum/rabbitmq-users">https://groups.google.com/forum/#!forum/rabbitmq-users</a>,
please subscribe to the new list!
<a class="moz-txt-link-abbreviated" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>
<a class="moz-txt-link-freetext" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>