Skip to content

Instantly share code, notes, and snippets.

@denzhel
Created April 5, 2022 10:29
Show Gist options
  • Select an option

  • Save denzhel/f18b5e2c39bb270b78e227af19f33419 to your computer and use it in GitHub Desktop.

Select an option

Save denzhel/f18b5e2c39bb270b78e227af19f33419 to your computer and use it in GitHub Desktop.
rabbitmq reset password

If you lost the usernamd and/or password to your rabbitmq node, you can create a new admin user using:

rabbitmqctl add_user newadmin s0m3p4ssw0rd
rabbitmqctl set_user_tags newadmin administrator
rabbitmqctl set_permissions -p / newadmin ".*" ".*" ".*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment