2013-01-11 21:16:42 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2013-08-06 21:32:15 +02:00
|
|
|
# Delete the "guest" default user and replace it with a Zulip user
|
2013-01-11 21:16:42 +01:00
|
|
|
# with a real password
|
|
|
|
|
2013-11-13 02:37:29 +01:00
|
|
|
rabbitmqctl delete_user zulip || true
|
2013-01-11 21:16:42 +01:00
|
|
|
rabbitmqctl delete_user guest
|
2013-10-25 23:15:43 +02:00
|
|
|
rabbitmqctl add_user zulip $($(dirname $0)/../../bin/get-django-setting RABBITMQ_PASSWORD)
|
2013-10-24 19:25:48 +02:00
|
|
|
rabbitmqctl set_user_tags zulip administrator
|
|
|
|
rabbitmqctl set_permissions -p / zulip '.*' '.*' '.*'
|