Mosquitto_password installed with snap

Hello,
A fresh install of ubuntu 20.04.
I installed Mosquitto with snap.
Mosquito is rurning will after some basic test.
I have to add a user with the command mosquitto_password.
But this command is not available.
How can I add a user?
Sorry for the stupid question…
Regards
Thierry

With the snap of mosquitto, the command to use is mosquitto.passwd. Perhaps the publisher of the mosquitto snap could also ask for an alias for mosquitto.passwd to mosquitto_passwd.

1 Like

Hello,
many thanks for your reply.
I am very new with snap.
Should I create th password in /etc/mosquitto/ folder ?
can you tell me wher to find the documentation specific for the snap of mosquitto,

thanks again !

Thierry

Hi Thierry,

There is some fairly brief snap specific documentation at https://mosquitto.org/documentation/using-the-snap/ - if any of it doesn’t make sense please let me know, it’s still fairly new and I’m sure could be improved.

I’m going to open a request to get the mosquitto_passwd alias added.

Regards,

Roger

4 Likes

Hi,
Many thanks for your reply.

best regards

Thierry

Le mar. 18 août 2020 à 04:49, Roger Light via snapcraft.io forum@forum.snapcraft.io a écrit :