U1.14 Ubuntu Quick Start (QS): Add RabbitMq User With Administrator Tag - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki

Guest user

  • read the article Authentication, Authorisation, Access Control
  • Note: By default, the guest user is prohibited from connecting from remote hosts
  • If you are trying to log in from an external computer, you will receive the following exception:
Click to show the picture

picture

  • Note: to reset the default setting for Guest user
    • add the line below to rabbitmq.conf-file
loopback_users = none

User with Administrator tag

  • Create user
sudo rabbitmqctl add_user admin adminpassword
  • Add Administrator tag
sudo rabbitmqctl set_user_tags admin administrator
  • Add permission
sudo rabbitmqctl set_permissions -p "/" "admin" ".*" ".*" ".*"
  • Add topic permission
sudo rabbitmqctl set_topic_permissions -p "/" "admin" ".*" ".*" ".*"
  • Here is a result
Click to show the picture

picture

  • Delete user
sudo rabbitmqctl delete_user "admin"
  • Show users
sudo rabbitmqctl list_users
⚠️ **GitHub.com Fallback** ⚠️