Difference between revisions of "MQTT: managed password"

From OnnoWiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 10:02, 14 November 2019

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