Configuring a Contenta database password

The Contenta database and xyadmin user passwords can be stored in an encrypted form in a dedicated binary file named XyConfig.bin located in the Contenta_home/bin directory. PcmPortal and other compiled utilities read the required passwords from this file.

Database utilities in readable form (such as Perl modules) accept the xyadmin password and, if necessary, authenticate and obtain the database password using the compiled library delivered with the product.

Use the Contenta Password Manager utility (dbpwdmgr) to add a new password or change an existing password.

Adding or changing the database passwords

The command line utility, dbpwdmgr, allows you to add, change, and remove passwords in the Contenta_home/bin/XyConfig.bin file.

If password switches are not specified for programs that require a xyadmin or database password, the default password is applied. See Modifying Contenta user passwords for information about the switches and programs requiring passwords.

The standard default passwords

The standard, default passwords in the delivered XyConfig.bin file are:
AccountPassword
xyadminmanager
defaultdbpdmuser
db_namethe name of the Contenta database user

The Contenta Password Manager (dbpwdmgr) utility

All passwords must be included in the XyConfig.bin file. Use the dbpwdmgr utility to modify the XyConfig.bin file to:

  • create xyadmin passwords for the Crawler (see Setting Crawler passwords in this documentation.)
  • create passwords
  • delete passwords
  • modify passwords, including changing the standard default passwords

For more information about working with the utility, see Using the Contenta Password Manager utility in this documentation.

Responding to the dbpwdmgr utility prompts

Consider the system prompts and appropriate responses when using the dbpwdmgr program:

  • When prompted for user name, enter the name of the Contenta database with the ODBC_DSN (Windows) or SID (Linux).
  • When prompted for the password, enter the password for the user name you specified. The password is not displayed; the characters you enter display as asterisks.
  • When changing the default passwords, note the following requisite user names:
    When changing the password for...The user name is...
    Contenta databasethe name of the Contenta database
    xyadmin userxyadmin