Password encryption in the response file

When you create a response file by using the installation wizard, the passwords are encrypted in the response file by default.

Password properties in the response file

The response file contains the following password properties:

  • DB2UnixInstancePanel.password (password to the DB2® instance user)
  • DB2UnixInstancePanel.confPassword (password confirmation to the DB2 instance user)

Samples of encryption settings in response files

In the response file, the encryption properties are set to true by default, and the value of the password property is treated as encrypted when you do a silent installation.

However, if you need to modify the password before you do a silent installation on other computers, you can set the value of the encryption property to false and set the value of the password property to the actual password that you want to use.

In the following sample from a response file, a password of 1111111 for the metadata database is encrypted as axfe02ki3kdi383.

#Meta Data Panel

#---------------

MetaData.database.encrypted=true

MetaData.database.password=axfe02ki3kdi383
In the following sample, the encryption property is set to false so that the password can be changed (in this case to 222222). Because the encryption property is set to false, the value of the password property will now be treated as cleartext during the silent installation.
#Meta Data Panel

#---------------

MetaData.database.encrypted=false

MetaData.database.password=222222

Results of setting the encryption property values

The following table lists the password encryption properties in the response file and the results of setting the properties to true or to false.

Table 1. Password encryption properties and the results of their values
Encryption Property Result when the value is set to true (default setting) Result when the value is set to false (or when the property is removed from the response file)
DB2UnixInstancePanel.encrypted The value of DB2UnixInstancePanel.password and the value of DB2UnixInstancePanel.confPassword are treated as encrypted. The value of DB2UnixInstancePanel.password and the value of DB2UnixInstancePanel.confPassword are treated as cleartext.
MetaData.database.encrypted The value of MetaData.database.password is treated as encrypted. The value of MetaData.database.password is treated as cleartext.


Feedback | Information roadmap