Skip to content

Instantly share code, notes, and snippets.

@c0mpiler
Last active October 13, 2017 03:04
Show Gist options
  • Save c0mpiler/b176dca46338c5ffb43f7982d42dac1a to your computer and use it in GitHub Desktop.
Save c0mpiler/b176dca46338c5ffb43f7982d42dac1a to your computer and use it in GitHub Desktop.
Create a new RabbitMQ user as 'administrator'
#user: c0mpiler
#password: testpwd123
rabbitmqctl add_user c0mpiler testpwd123
rabbitmqctl set_user_tags c0mpiler administrator
rabbitmqctl set_permissions -p / c0mpiler ".*" ".*" ".*"
curl -i -u c0mpiler:testpwd123 http://localhost:15672/api/whoami
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment