Managing the passwords in configuration files
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.
Here MDM_ROOT refers to where the MDM HOME file is placed after you install the MDM modules.
-
datasources.xml: This file includes the passwords for Talend MDM to access different kinds of databases.
-
mdm.conf: This file contains all the configuration information for MDM Server, which includes two passwords: admin.password and technical.password.
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.
Procedure
Results
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.