Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding users to password file #169
mosquitto_passwd can use any option to add a new user to the password file.
-hello allowed me to add another user to the password file. This bug is caused due to a missing return statement in the mosquitto_passwd code.
It is not advisable to add password in the command itself. Another argument (eg -a Adduser) can be implemented to add another user to the password file.
added a commit
May 26, 2016
Thanks for the report, you're quite right this is a bug. I've pushed a fix.
I agree about adding passwords on the command line, but it was a requested feature and is useful in some situations.
The normal way of adding a user is