mosquitto_passwd
Manage password files for mosquitto.
See also `mosquitto`, the MQTT server that this manages.
- Add a new user to a password file (will prompt to enter the password):
mosquitto_passwd {path/to/password_file} {username}
- Create the password file if it doesn't already exist:
mosquitto_passwd -c {path/to/password_file} {username}
- Delete the specified username instead:
mosquitto_passwd -D {path/to/password_file} {username}
- Upgrade an old plain-text password file to a hashed password file:
mosquitto_passwd -U {path/to/password_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).