「RabbitMQ」- 重置用户

  CREATED BY JENKINSBOT

问题描述

由于工作交接不完整,现在需要重置用户密码。

解决办法

#!/bin/sh

rabbitmqctl add_user "your username" "0vAvjCGq9eWziKWLOXS89nTY"
rabbitmqctl set_user_tags "your username" administrator
rabbitmqctl set_permissions -p / "your username" ".*" ".*" ".*"

参考文献

How to reset user for rabbitmq management