New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with mosquitto_passwd when updating existing user #1671
Comments
You are correct, thanks for reporting it. Updating passwords using |
Thanks for your answer, and sorry I didn't see that an issue was already opened... I can then close this one ;) |
No problem, I wouldn't expect people to look at already closed issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm having trouble with mosquitto_passwd command when trying to update an existing account.
Mosquitto version: 1.6.9
OS: Ubuntu 20.04
My config file looks this :
If I try to create a new file from scratch using
mosquitto_passwd -c mosquitto.users test
everything is ok and I can connect using
mosquitto_sub -h 10.1.1.124 -u test -P password --topic "/test"
But if I try to update the password of existing 'test' account with :
mosquitto_passwd -b mosquitto.users test password
I'm not able to connect anymore and get:
NOTE: If I create a file containing
test:password
and try to convert it usingmosquitto_passwd -U mosquitto.users
, everything is ok too...Seems like updating an existing password this way if not functional.
Please find a 'working' and 'not working' password file content:
Good
Bad (after cmdline update)
Thanks for your help.
The text was updated successfully, but these errors were encountered: