mosquitto_passwd

mosquitto_passwd

TLDR

Add a new user to a password file (will prompt to enter the password)

>_ mosquitto_passwd [path/to/password_file] [username]
copy

Create the password file if it doesn't already exist

>_ mosquitto_passwd -c [path/to/password_file] [username]
copy

Delete the specified username instead

>_ mosquitto_passwd -D [path/to/password_file] [username]
copy

Upgrade an old plain-text password file to a hashed password file

>_ mosquitto_passwd -U [path/to/password_file]
copy

Copied to clipboard
free 100$ digital ocean credit