-
Notifications
You must be signed in to change notification settings - Fork 2
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
grafana updated password is reset on mfadmin restart #257
Comments
I'm not sure any of the two possible solutions can be implemented as grafana is an external source. |
setting |
why the But as per the grafana doc (https://grafana.com/docs/grafana/latest/developers/http_api/auth/) :
So in grafana.ini we can update as below:
and disabling the authent' test in grafana.status:
|
But maybe the first password initialization is probably made by |
Problem
When using the default user admin/admin for loggin-in to grafana, we are prompted to update the password for admin user:
So if this password is updated in the web interface, the
grafana.status
(launched during mfadmin restart) command will get a 401 unauthorized error because we are not testing the new right password (we useMFADMIN_GRAFANA_ADMIN_PASSWORD
).https://github.com/metwork-framework/mfadmin/blob/master/adm/grafana.status :
So the script
_force_grafana_admin_password.sh
will be execute and will reset the admin password with variableMFADMIN_GRAFANA_ADMIN_PASSWORD
which is set with mfadminconfig.ini
:=> as a result admin password is reset to "admin"
Possible solutions
MFADMIN_GRAFANA_ADMIN_PASSWORD
or
The text was updated successfully, but these errors were encountered: