-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
[Main UI] Admin user cannot change password #332
Comments
I think this operation should be handled as a servlet in the core (with a proper HTML form and a CSRF token, similar to the sign in flow), rather than from the UI itself and an API endpoint. In the meantime, for the record, here's a reminder on how you can change your password from the Karaf console (this involves deleting and re-creating your user in JAAS):
(your password will be masked with # characters while you're typing it) |
I was trying the commands above, recreated the user admin, however can't get this user to be an
This looks like the user admin would have the eleveated rigths, however on the UI I can not get to the things and items and the developer tools anymore. |
Yes the role is actually I forgot to add the role originally, I have updated the comment above. Btw, while it's nice to have the JAAS commands, I'm actually thinking about adding some openHAB-specific Karaf commands to perform these (normally infrequent but sensible) operations, which could look similar to this:
|
Thanks for the speedy answer, now I'm back into testing. |
I very much like your proposal! Indeed, the JAAS syntax is not straight forward for users and will cause many questions, so having our own commands will be much more user friendly. |
It seems the UI does not provide a way to easily change the admin user password. That makes it complicated if your password got compromised, you entered an unsecure password for quick access during setup or when you have a good habit of changing it.
The text was updated successfully, but these errors were encountered: