For the sake of security, the passwords are encrypted in the configuration files datasources.xml and mdm.conf under the directory <MDM_ROOT>/conf/, so that the actual password string is not shown in plain text.
MDM_ROOT refers to where the MDM
HOME file is placed after you install the MDM modules. For more
information about how to install MDM modules, see Installing the MDM server manually.
datasources.xml: This file includes the passwords for Talend MDM to access different kinds of databases. For an example about how to use the datasources.xml file, see Managing how MDM Server uses SQL databases.
mdm.conf: This file contains all the configuration information for MDM Server, which includes two passwords:
technical.password. For more information, seeConfiguring MDM Server.
If needed, you can use a plain text password to change the encrypted default password.
Alternatively, you can encrypt a password in text mode first and then use it in the configuration files directly. For more information, see Encrypting the passwords in text mode.
The following example shows how to use a plain text password to change the default password of the default administrator user of the MDM server in the file mdm.conf.
- Open the file <MDM_ROOT>\conf\mdm.conf.
Locate the encrypted default admin password.
Remove the existing password, including
,Encrypt, and then enter a new plain text password for the default administrator user.
- Save your changes and close the file.
Upon the next startup of the MDM server, the new password will be encrypted and the file will be updated with this encrypted new password.