# How to update admin password in internal\_user.yml file without losing the existing users

**URL:** <https://forum.opensearch.org/t/how-to-update-admin-password-in-internal-user-yml-file-without-losing-the-existing-users/15050>\
**Category:** OpenSearch\
**Tags:** troubleshoot, upgrade\
**Created:** [July 11, 2023, 10:43am UTC](https://forum.opensearch.org/t/how-to-update-admin-password-in-internal-user-yml-file-without-losing-the-existing-users/15050 "2023-07-11T10:43:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ashutosh](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@Ashutosh](https://forum.opensearch.org/u/Ashutosh)\
**Post date:** [August 8, 2023, 7:06am UTC](https://forum.opensearch.org/t/how-to-update-admin-password-in-internal-user-yml-file-without-losing-the-existing-users/15050/5 "2023-08-08T07:06:02Z")

</div>

@pablo @jasonrojas

Could you please help in resetting admin password

> [@Unable to change admin user password while deploying OpenSearch using Helm Chart](https://forum.opensearch.org/t/unable-to-change-admin-user-password-while-deploying-opensearch-using-helm-chart/15440):
>
> Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): used OpenSearch helm chart to installation -github.com/opensearch-project/helm-charts Describe the issue: I am unable to reset admin user passwords i have updated the yaml file of OpenSearch and modified this part as well securityConfig: enabled: true path: "/usr/share/opensearch/config/opensearch-security" actionGroupsSecret: configSecret: internalUsersSecret: rolesSecret: rolesMappingSecret: tenantsSecret: # T…

Process that I tried .

1. modified values.yaml for helm chart of opensearch
2. generated password using hash.sh and then updated the internal\_user.yml and ran securityadmin.sh -like this -sh securityadmin.sh -cd …/…/…/config/opensearch-security/ -ilc -nhnv -cacert /usr/share/opensearch/config/root-ca.pem -cert /usr/share/opensearch/config/kirk.pem -key /usr/share/opensearch/config/kirk-key.pem
3. tried using openserach-dashboard as well but getting " resource admin is read-only"

Please help me in fixing this issue . I am doing using helm chart

---

_[View the full topic](https://forum.opensearch.org/t/how-to-update-admin-password-in-internal-user-yml-file-without-losing-the-existing-users/15050)._
