Changing the BladeLogicRSCD account password


Important

On Domain Controller, a BladeLogicRSCDDC user account is used. For changing the password of the BladeLogicRSCDDC user account on Domain Controller refer Changing-the-BladeLogicRSCDDC-account-password-on-domain-controllers

The RSCD account must be functional for user mapping. The default name for this account is BladeLogicRSCD. For more information about this user account, see User accounts.

At times it might be necessary to change the password on this RSCD account due to your organization policy. To change the password, you can use either the chapw command or the agentctl utility:

  • The chapw command enables you to change the BladeLogicRSCD account password while the agent is running.
  • The agentctl utility enables you to change the BladeLogicRSCD account password. To use the agentctl utility to change the account password, the RSCD agent must be shut down. This helps in cases where there are communication problems with the RSCD Agent due to some issues around BladeLogicRSCD user account.

Using chapw to change the password

  1. Ensure that the RSCD agent is running.
  2. Ensure that the NSH session is mapped to an Administrative account.
    1. Run the following command:
      agentinfo targetserverName
    2. In the command output, check the mapped user account that is mentioned for the User Permissions parameter.

      Sample output

      prodserver.bmc.com% agentinfo dc2.bmc.com
      dc2.bmc.com:
      Agent Release : 8.9.03.575
      Hostname : dc2.bmc.com
      Operating System: WindowsNT 10.0 (x86_64)
      User Permissions: BladeLogicRSCD@CLM-PUN-T0JMH4->Administrator@dc2.bmc.com:PrivilegeMapped (Identity via trust)
      Security : Protocol=5, Encryption=TLS1
      Host ID : 40E9DB22
      # of Processors : 4
      License Status : Licensed for NSH/CM

      In this output, the mapped user account is "Administrator"

  3. You can use one of the below mechanisms to change the password.

    To use a specific PASSWORD> chapw -p PASSWORD targetServerName
    To use a random password of default length> chapw -r targetServerName
    To use a random password of non-default length <LEN>> chapw -r -l <LEN> targetServerName

Using the agentctl utility to change the password

  1. Shut down the RSCD agent (or ensure that it is down).
  2. Run the following command:

    > <full path to agentctl> setaccpasswd 

    For example

    > "C:\Program Files\BMC Software\BladeLogic\RSCD\agentctl.exe" setaccpasswd
  3. When prompted, enter the new password. You are prompted twice for the new password.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*