install the latest version of rabbitmq (3.3.1) and enable the management plugin, use the default account The guest logs in to the management console, but the login fails.
After reading the official release document, I learned that since the guest account has all operating permissions and is the default account, for security reasons, guest users can only log in through localhost, and it is recommended to modify it. The password of the guest user and the creation of other accounts are managed using rabbitmq (this feature was introduced in version 3.3.0).
Although it can be done in a more cumbersome way: delete <<"guest">> in loopback_users in rabbit.app in the ebin directory, or modify this item in the configuration file rabbitmq.config Configuration,
And restart rabbitmq, you can use the guest account to log in to the management console through any IP, but it always goes against the original intention of the designer, and I didn’t know much about this before, so it is necessary to summarize.
1. User management
User management includes adding users, deleting users, viewing user lists, and changing user passwords.
Corresponding command
(1) Add a new user
rabbitmqctl add_user Username Password
(2) Delete a user
rabbitmqctl delete_user Username
(3) Modify user’s password
rabbitmqctl change_password Username Newpassword
(4) View the current user list
rabbitmqctl list_users