mosquitto_passwd
Manage password files for mosquitto. See also mosquitto, the MQTT server that this manages. More information: <https://mosquitto.org/man/mosquitto_passwd-1.html>.
Install
- All systems
-
curl cmd.cat/mosquitto_passwd.sh
- Debian
-
apt-get install mosquitto
- Ubuntu
-
apt-get install mosquitto
- Alpine
-
apk add mosquitto
- Arch Linux
-
pacman -S mosquitto
- Kali Linux
-
apt-get install mosquitto
- Fedora
-
dnf install mosquitto
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install mosquitto
- OS X
-
brew install mosquitto
- Raspbian
-
apt-get install mosquitto
- Dockerfile
- dockerfile.run/mosquitto_passwd
- Docker
-
docker run cmd.cat/mosquitto_passwd mosquitto_passwd
powered by Commando
Manage password files for mosquitto. See also mosquitto, the MQTT server that this manages. More information: <https://mosquitto.org/man/mosquitto_passwd-1.html>.
-
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
© tl;dr; authors and contributors