#!/bin/sh
#
# Delete the "guest" default user and replace it with a Zulip user
# with a real password
rabbitmqctl delete_user guest
rabbitmqctl add_user humbug $($(dirname $0)/../tools/get-django-setting RABBITMQ_PASSWORD)
rabbitmqctl set_user_tags humbug administrator
rabbitmqctl set_permissions -p / humbug '.*' '.*' '.*'