Reinitialize the admin password

Valid from Datafari X.X

If you want to change any account password, you can do it directly in the admin UI. But what to do if you lost the admin password ? You can manually reinitialize the account in the Cassandra database. Let's explain it.

Connect into SSH to the Datafari server :

cd /opt/datafari/cassandra bin/cqlsh

When you are connected to Cassandra :

USE datafari; UPDATE user SET password='8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918' WHERE username='admin'; INSERT INTO role (username,role) VALUES ('admin','SearchAdministrator');

The credentials are now :

login : admin

password : admin