Using the Mosquitto_ctrl Tool

The Mosquitto_ctrl tool was introduced with mosquitto v2 and is used for dynamically making user and ACL changes on a mosquitto broker. To use it the target broker needs to have the dynamic security plugin enabled. The tool is effectively a modified mosquitto publish client and if you subscribe to the $CONTROL topic you can see the messages that it publishes (example shown below).

Continue reading