MQTT: managed password

From OnnoWiki
Jump to: navigation, search
mosquitto_passwd [ -c | -D ] passwordfile username
mosquitto_passwd -b passwordfile username password
mosquitto_passwd -U passwordfile 

Switch

-c create
-D delete
-b batch
-U update


Contoh

cd /etc/mosquitto/
mosquitto_passwd -b pwfile user1 123456


Pranala Menarik