# Replace us3r and passw0rd
sudo rabbitmqctl add_user us3r passw0rd
# Grant necessary permissions
sudo rabbitmqctl set_permissions -p / us3r “.*” “.*” “.*”
# Verify permissions
sudo rabbitmqctl list_permissions
# create user
rabbitmqctl add_user myUser myPass
# make user an administrator
rabbitmqctl set_user_tags myUser administrator
rabbitmqctl add_user username password
$ rabbitmqctl add_user myUser myPass
$ rabbitmqctl set_user_tags myUser administrator
rabbitmqctl set_user_tags username administrator
rabbitmqctl set_permissions -p / username ".*" ".*" ".*"