Password change in Apache proxy

Valid as of Datafari 6.0

The default user for Apache proxy is : admin

This global admin user can access all of the applications protected by the Apache proxy, i.e: Solr and the analytics dashboards for the CE and EE editions of Datafari, plus Glances and Monit for Enterprise edition only.

To simplify the install procedure, when you install Datafari, you will be declaring only one password that will be applied to both the Datafari webapp admin user, AND the apache proxy admin account. Although they have the same name, they are technically NOT the same user.

If you want to later change the password for the Apache proxy (which will NOT change the password for the datafari webapp), please refer to section C of Change the Datafari passwords

If you want to later change the password for the Datafari webapp (which will NOT change the password the Apache proxy), please refer to section A of Change the Datafari passwords


Valid from Datafari 5.2 up to 5.5

To simplify the install procedure, when you install Datafari, you will be declaring only one password that will be applied to both the Datafari webapp admin user, AND the apache proxy admin account. Although they have the same name, they are technically NOT the same user.

If you want to later change the password for the Apache proxy (which will NOT change the password for the datafari webapp), please refer to section C of Change the Datafari passwords

If you want to later change the password for the Datafari webapp (which will NOT change the password the Apache proxy), please refer to section A of Change the Datafari passwords


When you install Datafari EE, you define a global admin password for Datafari web app and the same password is also affected to Apache proxy ie when you want to access to Solr admin pages or ELK admin pages (analytics dashboards).

For security reasons, we have created separate users, as mentionned in the above Info bubble. You may want to change their respective passwords for additional security.

If you want to change the password for any of these accounts, you can modify it directly in the Admin UI of Datafari. Go to Admin → User Management → Manage Datafari Web Services Users.

See this page : Change the Datafari passwords


When you install Datafari EE, you define a global admin password for Datafari web app and the same password is also affected to Apache proxy ie when you want to access to Solr admin pages or ELK admin pages (analytics dashboards).

For security reasons, it can be better to have multiple users : keep the global admin user that can access to any pages on Apache and add an user that only can access to Solr pages and add another user only for ELK pages.

 In order to do so, you have to run a shell script. It is located in /opt/datafari/ssl-keystore/apache/config. Its name is addUsersApache.sh.

To run it (with root user) :

cd /opt/datafari/ssl-keystore/apache/config

bash addUsersApache.sh

The script will ask you if you want to add ELK user and/or Solr user. Then choose a password for the account that you want to create.

You can also change the password for admin user. If you do so, you need at the end to manually edit the file /opt/datafari/apache/password/htpasswd and delete the first entry that mentions the admin user (admin:datafari)

When you finish, restart Apache service : 

service apache2 restart on Debian or apachectl restart on CentOS/RedHat

How to access the different pages ?

if you want to access with admin user, the login is : admin

If you want to access with the elk user, the login is : elkadmin

If you want to access with the Solr user, the login is : solradmin