-
Notifications
You must be signed in to change notification settings - Fork 83
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 for default user (admin/admin) #281
Comments
Another option would be to create a new admin and delete the default one (with admin/admin credentials). Unfortunately newly created admin users do not have rights to add data sources an import dashboards. Their role is 'Viewer' as seen here: This is also consistent with discussion here: #142 (comment) I would welcome any ideas on how to secure a newly created grafana instance |
Currently I ran grafana as a regular package installed via
|
Ping @pomverte if you have time to look at this |
Could this feature request be answered with PR #242 ? |
@pomverte I don't think that relates. Also, this looks like a bug. The admin user should be admin and not Viewer. @grzanka can you provide the exact Grafana version ? |
@rrey it's Grafana v9.1.7 (0cbb79298d), see: I've created a new user using following role:
|
I'm facing the same issue, trying to configure the grafana in docker container. I started the clean grafana container
then i'm trying to use
Then i'm trying to log in with my password to admin user - grafana don't let me to log in, tells that i'm using the wrong password. But, when i enter the default password For now I have to use shell module with P.S. on the second run playbook tells me that the admin user update task state is not changed. But in fact, i still have to use the default password. P.P.S. |
SUMMARY
My request is related to discussion in the following issue: #142
I was trying to secure a freshly created grafana instance. Doing this using web interface is simple: one needs to change the default password for admin account. At first login after typing admin/admin credentials you are asked to change the password to secure one.
ISSUE TYPE
COMPONENT NAME
I suspect its user management module.
ADDITIONAL INFORMATION
I would like to be able to secure fresh graphana instance.
There are couple of ways of doing so.
First one, which seems not to be working, is to change password of default user (admin/admin):
I've tried it using following playbook:
and running the command:
but this failed with:
The text was updated successfully, but these errors were encountered: