MQTT: managed password

From OnnoWiki
Revision as of 10:02, 14 November 2019 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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