vmq-passwd
. If you want to change this and accept any client connection you can set:allow_anonymous=on
completely disables authentication in the broker and plugin authentication hooks are never called! Find more information on the authentication hooks here.vernemq.conf
.password_reload_interval = 0
disables automatic reloading.vmq-admin
script.sudo vmq-admin set vmq_passwd.password_reload_interval=60 --all
vmq-passwd
is a tool for managing password files for the VerneMQ broker. Usernames must not contain ":"
, passwords are stored in similar format to crypt(3).-c
Creates a new password file. If the file already exists, it will be overwritten.
-D
Deletes the specified user from the password file.
-U
This option can be used to upgrade/convert a password file with plain text passwords into one using hashed passwords. It will modify the specified file. It does not detect whether passwords are already hashed, so using it on a password file that already contains hashed passwords will generate new hashes based on the old hashes and render the password file unusable. Note, with this option neither usernames or passwords may contain":"
.
passwordfile
The password file to modify.
username
The username to add/update/delete.
vmq-passwd
was developed by Roger Light ([email protected]).vmq-passwd
includes :vernemq.conf
.acl_reload_interval = 0
disables automatic reloading.vmq-admin
script.read
or write
. If not provided then read an write access is granted for the topic
. The topic
can use the MQTT subscription wildcards +
or #
.allow_anonymous = on
). User specific ACLs are added after a user line as follows (this is the username not the client id):
%c
to match the client id of the client%u
to match the username of the client