Changing the xyadmin and database passwords
Use the Contenta Password Manager utility (dbpwdmgr.exe) to change the xyadmin user and Contenta database passwords from their defaults if you need to maintain the Windows security policies for passwords.
Procedure
- Before executing the pcm_setup.sql script to create the
xyadminuser, modify the file and replace themanagerpassword with a password that conforms to the criteria noted in the previous Windows Password Security and Contenta with MSSQL topic.Note: Themanagerstring appears only once in this file. - Use the dbpwdmgr.exe utility to change the default password for the xyadmin user by doing the following.
- Execute
dbpwdmgr.exefrom a command prompt. - At the DBPWDMGR> prompt, type modify.
The system displays a list of the available options as in the following example.
Available options: 1 Configure Contenta database passwords 2 Configure LDAP principle account 3 Configure Crawler principle user password 4 Configure Contenta Web and Contenta Server trust key r Return to command choices Your choice: - At the Your choice prompt, type 1 to select the Configure Contenta database passwords option.
- When prompted for the database name, type xyadmin.
- When prompted, enter the existing password for the database.
- When prompted for the new password, enter and re-enter the new password (to repleace the default, manager) for the
xyadminuser.
The utility reports success and returns you to the DBPWDMGR> prompt. - Execute
- Use the dbpwdmgr.exe utility to change the default password for the Contenta database user by doindg the following.
- Execute dbpwdmgr.exe from a command prompt.
- At the DBPWDMGR> prompt, type modify.
The system displays the list of available options.
- At the Your choice prompt, type 1 to select the Configure Contenta database passwords option.
- When prompted for the database name, type defaultdb.
- When prompted, enter and re-enter the new password (to replace the default, pdmuser) for the Contenta database.
The utility reports success and returns you to the DBPWDMGR> prompt. - Copy the XyConfig.bin file located under Contenta_home\bin as required by your configuration.
- If the file is configured to be shared on the network, copy the file to the directory defined by the
XYV_PDM_XYCONFIG_DIRvariable (on Linux) or to theXYV_PDM_XYCONFIG_DIRregistry setting (on Windows). - If the file is not configured to be shared, copy it to all Contenta client workstations.
- If the file is configured to be shared on the network, copy the file to the directory defined by the