How to change password of Bahmni/OpenMRS (and securing the server)

A lot of users seem to install Bahmni/OpenMRS and don’t change the DEFAULT admin credentials. This is a serious security risk.

If you are an ADMIN of any Bahmni server, that is being used in Production / QA / Public exposed – please change the admin/superman credentials, to reduce your security risk. Also don’t use default DB credentials.

Please read

  1. Change password of Bahmni user:

  2. OpenELIS:

  3. In Bahmni Configuration Files:

  4. Securing Bahmni Server:

If you still need help, please post a question on our SLACK channel or on this talk forum. Thanks!


Bumping this up. We came across another PUBLIC instance of Bahmni today, where the default admin credentials were setup. This is very bad!

Please request everyone to ensure that for Bahmni deployments in production/real world to CHANGE ALL DEFAULT CREDENTIALS. Not doing so can put the implementor / hospital in Legal trouble and serious headaches.

This is true for any OpenMRS/Bahmni deployment. Be responsible. Refer to the links attached in this thread on how to make changes.

1 Like

If the Bahmni admin password is changed after the installation then ensure to change the atom feed connect passwords too

for OpenMRS to ODOO sync, change passwords in /opt/bahmni-erp-connect/bahmni-erp-connect/WEB-INF/classes/

for openmrs to lab sync, change passwords in /opt/bahmni-lab/bahmni-lab/WEB-INF/classes/

1 Like