Section III Configuration Account

Original: III Configuration Account

Copyright: without his consent shall not be reproduced this article, thank you https://blog.csdn.net/phocus1/article/details/87283309

1. Create a user, password, binding role:

Cmd into the directory: D: \ Program Files \ RabbitMQ Server \ rabbitmq_server-3.7.8 \ sbin

View existing users and user roles:

rabbitmqctl.bat list_users

Add a user:

rabbitmqctl.bat add_user wiadmin wi2019

The new user permissions to view:

After wiadmin no " [Administrator] ", described the role or do not have permission;

Additional information:

rabbitmq user roles can be divided into five categories: super administrator, who monitors, policy makers, general managers and others.

(1) Super Administrator (administrator)

(Enabled management plugin's) can be found on the management console, you can view all the information, and can operate on a user policy (policy).

(2) monitors. (Monitoring)

Can be found at the management console (enabled management plugin's), and can view information rabbitmq nodes (number of processes, memory usage, disk usage, etc.) 

(3) policy makers (policymaker)

(Enabled management plugin's) can be found on the management console, and can manage the policy.

(4) in the manager (Management)

(Enabled management plugin's) only can be found on the management console, you can not see the node information, the policy can not be managed.

(5) Other

You could not land management console, often it is the producers and consumers.

Assignment to wiadmin "Super Administrator" role:

rabbitmqctl.bat set_user_tags wiadmin administrator

2. Modify the account:

Modify the guest account (it's the default password is guest) :

rabbitmqctl change_password guest wi2019guest

2. Delete the guest account:

rabbitmqctl.bat delete_user guest

 

Original: III Configuration Account

Copyright: without his consent shall not be reproduced this article, thank you https://blog.csdn.net/phocus1/article/details/87283309

1. Create a user, password, binding role:

Cmd into the directory: D: \ Program Files \ RabbitMQ Server \ rabbitmq_server-3.7.8 \ sbin

View existing users and user roles:

rabbitmqctl.bat list_users

Add a user:

rabbitmqctl.bat add_user wiadmin wi2019

The new user permissions to view:

After wiadmin no " [Administrator] ", described the role or do not have permission;

Additional information:

rabbitmq user roles can be divided into five categories: super administrator, who monitors, policy makers, general managers and others.

(1) Super Administrator (administrator)

(Enabled management plugin's) can be found on the management console, you can view all the information, and can operate on a user policy (policy).

(2) monitors. (Monitoring)

Can be found at the management console (enabled management plugin's), and can view information rabbitmq nodes (number of processes, memory usage, disk usage, etc.) 

(3) policy makers (policymaker)

(Enabled management plugin's) can be found on the management console, and can manage the policy.

(4) in the manager (Management)

(Enabled management plugin's) only can be found on the management console, you can not see the node information, the policy can not be managed.

(5) Other

You could not land management console, often it is the producers and consumers.

Assignment to wiadmin "Super Administrator" role:

rabbitmqctl.bat set_user_tags wiadmin administrator

2. Modify the account:

Modify the guest account (it's the default password is guest) :

rabbitmqctl change_password guest wi2019guest

2. Delete the guest account:

rabbitmqctl.bat delete_user guest

 

Guess you like

Origin www.cnblogs.com/owenzh/p/11087935.html