Skip to content
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

change password #913

Open
danielstock opened this issue Aug 8, 2018 · 6 comments
Open

change password #913

danielstock opened this issue Aug 8, 2018 · 6 comments
Labels
Component: mosquitto-broker Type: Enhancement A new feature for a minor or major release. Type: Question A query or clarification.

Comments

@danielstock
Copy link

i changed the user password by command mosquitto_passwd.
should i restart the mosquitto.exe to validate it?

@ralight ralight added the Type: Question A query or clarification. label Aug 8, 2018
@ralight
Copy link
Contributor

ralight commented Aug 8, 2018

At the moment the easiest answer is "yes" There is a mechanism to trigger a reload of the password file, but it's difficult to access on Windows. I'm going to leave this issue open to remind me to take a look when I'm back in Windows.

@ralight ralight added Type: Enhancement A new feature for a minor or major release. Component: mosquitto-broker labels Aug 8, 2018
@danielstock
Copy link
Author

thanks.
what about the aclfile, do we also have to restart the mosquitto after modifying the acl file?

@ralight
Copy link
Contributor

ralight commented Aug 8, 2018

Yes, this is the same for all of the files that mosquitto reads. On Unix like systems you can send a SIGHUP signal to carry out a reload, but that method isn't possible on Windows.

@danielstock
Copy link
Author

ok, wish the auto-reload feature could be added to system later. thanks a lot!

@electrocoder
Copy link

What should I do to change user password at runtime? Any progress?

@ptone
Copy link

ptone commented Jun 18, 2019

Related: #524

I don't think PW, at least remote_password gets reloaded on SIGHUP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: mosquitto-broker Type: Enhancement A new feature for a minor or major release. Type: Question A query or clarification.
Projects
None yet
Development

No branches or pull requests

4 participants