I think securityadmin.sh has the option of exporting the current configs and users etc. I would do that, then modify the admin password in those files and use those configs with users to run security admin again.
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
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