CMDBuild Forum

Password forgotten

Hi,

 

I have fixed an old VM, CMDBuild is already installed on it. But unfornately nobody have the password. 

I wonder if it is possible to recover or to erase directly in database the old password in order to connect to CMDBuild. Can someone help me ? 

If it isn't possible, is it possible to export all the data in order to import it after a clean install ?

 

Thanks in advance,

Regards.

Hi,
You can
manually change the password by connecting directly to the Postgres database in the VM.
You must modify in the “User” table of the “public” schema the record of the user involved, replacing the current value in the “Passwordcolumn with the value of the new password Md5 encrypted.

CMDBuild Team

Previously Tecnoteca wrote:

Hi,
You can
manually change the password by connecting directly to the Postgres database in the VM.
You must modify in the "User" table of the "public" schema the record of the user involved, replacing the current value in the "Password" column with the value of the new password Md5 encrypted.

CMDBuild Team

hi, am experiencing a similar issue, i was trying to create two different users with different permissions, unfortunately after creating one, in a new table i logged in using the created username and password but i was not able to access both of them all of a sudden. it says wrong username or password even if i log in as an admin, so how can i change the admin password and username, will my populated data remain in the database,