# In 2.28.0 version not able to edit /etc/grafana/grafana.ini file

**URL:** <https://forums.percona.com/t/in-2-28-0-version-not-able-to-edit-etc-grafana-grafana-ini-file/16416>\
**Category:** Uncategorized\
**Tags:** pmm, new-release\
**Created:** [July 4, 2022, 9:00am UTC](https://forums.percona.com/t/in-2-28-0-version-not-able-to-edit-etc-grafana-grafana-ini-file/16416 "2022-07-04T09:00:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kotha\_Sambashiva\_Rao](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kotha_sambashiva_rao/32/6315_2.png) [@Kotha\_Sambashiva\_Rao](https://forums.percona.com/u/Kotha_Sambashiva_Rao)\
**Post date:** [July 4, 2022, 9:00am UTC](https://forums.percona.com/t/in-2-28-0-version-not-able-to-edit-etc-grafana-grafana-ini-file/16416/1 "2022-07-04T09:00:08Z")

</div>

I am not able to edit /etc/grafana/grafana.ini file which i am ablet to see as read only also all content was not seen before  
pls let me know how to edit and enable ldap if path is changed

Note: Able to edit with 2.26.0 version only happening with latest version 2.28.0

---

<div class="post-metadata">

**Author:** ![ademidoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ademidoff/32/14234_2.png) [@ademidoff](https://forums.percona.com/u/ademidoff)\
**Post date:** [July 4, 2022, 9:37am UTC](https://forums.percona.com/t/in-2-28-0-version-not-able-to-edit-etc-grafana-grafana-ini-file/16416/2 "2022-07-04T09:37:12Z")

</div>

Hi!

I would encourage you to achieve the goal just by passing grafana-specific environment variables (those prefixed with GF\_) to your PMM docker container that are responsible for ldap settings. Environment variables have higher precedence over those specified in grafana.ini, so they should do the job.

Read more about it in [this help section](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/ldap/#enable-ldap). We also have a [blog post](https://www.percona.com/blog/2020/01/08/enable-ldap-on-percona-monitoring-and-management-pmm/) on the same topic.
