Change the scmviewer password

It is recommended to change the scmviewer password after installing TeamForge.

Follow these steps to change the scmviewer password:
  1. Stop TeamForge.
    • /opt/collabnet/teamforge/bin/teamforge stop
  2. Create an encrypted password using the password_util.sh
    • /opt/collabnet/teamforge/runtime/scripts/password_util.sh -encrypt '<new_password_text>'
  3. Set the encrypted password to the SCM_USER_ENCRYPTED_PASSWORD token in the /opt/collabnet/teamforge/etc/site-options.conf file.
  4. Deploy services.
    • /opt/collabnet/teamforge/bin/teamforge provision
    Note:

    The "provision" command prompts for response before it bootstraps or migrates data during TeamForge installation and upgrade respectively. Enter "y" or "N" to proceed. For more information, see the TeamForge script.

    TeamForge 17.4 (and later) installer expects the system locale to be LANG=en_US.UTF-8. TeamForge "provision" command fails otherwise.

  5. Start TeamForge.
    • /opt/collabnet/teamforge/bin/teamforge start
  6. Run the following command to set the new password for Review Board.
    • cd /opt/collabnet/RBInstaller-17.4.7
    • python ./install.py --auth-scmuser