Previous Topic: Change the Password in the properties-service.xml FileNext Topic: Change the User Directory Password in the CA Identity Minder Management Console


Change the Password in the login-config.xml File

You change the password in the login-config.xml file when you change the password for the following service accounts:

You may need to regularly change the password for these accounts to comply with your organization's security and password policies.

Note: You may need to use more than one method to change the password on all components that the service account interacts with. If the password is a clear text password, use the pwdtools utility to encrypt it before you change the password in the login-config.xml file.

To change the password in the login-config.xml file

  1. Stop the JBoss Application Server.
  2. Navigate to the following directory, where JBoss_home is the directory in which you installed JBoss:
    JBoss_home/server/default/conf
    
  3. Open the login-config.xml file in a text-based editor.
  4. Change the RDBMS_service_user password:
    1. Locate each instance of the name of the RDBMS_service_user account in the file.

      There are six instances in the file. You name this account when you create a user to prepare the database for CA ControlMinder Enterprise Management.

    2. Change the password in the parameter that is immediately after each instance of the name.

      The parameter is enclosed by the <module-option name="password"> and </module-option> tags.

    The RDBMS_service_user password is changed.

  5. Change the reportserver password:
    1. Locate the following parameter in the file:
      <module-option name="userName">reportserver</module-option>
      
    2. Change the password in the parameter that is immediately after this parameter.

      The parameter is enclosed by the <module-option name="password"> and </module-option> tags.

    The reportserver password is changed.

  6. Save and close the file.

Example: Change the RDBMS_service_user Password in the login-config.xml File

This snippet of the login-config.xml file shows you one instance of the changed RDMBS_service_user password. The user is named caidb01. The password has been encrypted and is }>8:Jt^+%INK&i^v:

<application-policy name="imobjectstoredb">
	<authentication>
		<login-module code="com.netegrity.jboss.datasource.PasswordEncryptedLogin" 
		flag="required">
			<module-option name="userName">caidb01</module-option>
			<module-option name="password">{AES}:}>8:Jt^+%INK&i^v==</module-option>
			<module-option name="managedConnectionFactoryName">
			jboss.jca:name=jdbc/objectstore,service=NoTxCM</module-option>
		</login-module>
	</authentication>
</application-policy>

Example: Change the reportserver Password in the login-config.xml File

This snippet of the login-config.xml file shows you the changed reportserver password. The password has been encrypted and is }>8:Jt^+%INK&i^v:

<application-policy name="JmsXATibcoRealm">
       <authentication>
          <login-module code="com.netegrity.jboss.datasource.PasswordEncryptedLogin" flag="required">          
             <module-option name="userName">reportserver</module-option>
	   <module-option name="password">{AES}:}>8:Jt^+%INK&i^v==</module-option>            
		<module-option name="managedConnectionFactoryName">
		jboss.jca:service=TxCM,name=TibcoJmsXA</module-option>
          </login-module>
       </authentication>
    </application-policy>

More information:

Change the reportserver Password

Change the RDBMS_service_user Password