Skip to main content

Change RabbitMQ user password when username is known

RabbitMQ is an open-source message-broker software.


First you have to log into the server using ssh command

$ssh -i  <user_key>  ubuntu@<server_ip>

You may need to check whether RabbitMQ service is running or not

$systemctl --type=service --state=running

You may need to log as root user

 $sudo su - 

 Change password of user

 $rabbitmqctl add_user  <username>  <password>

 To make user an administrator run following

 $rabbitmqctl set_user_tags  <username>  administrator

 Log into RabbitMQ server

 http://<server_ip>:15672

 Port 15672 is used for management UI and rabbitMQ admin.

 Please change the relevant values in <> blocks

Comments