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
    • /opt/collabnet/teamforge/runtime/scripts/ -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

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

  5. Start TeamForge.
    • /opt/collabnet/teamforge/bin/teamforge start
  6. Run the Black Duck Code Sight script.
    Important: If the Black Duck Code Sight is running on the same server, run the script. If the Black Duck Code Sight is running on a separate server, follow steps one to four and execute the script on the Black Duck Code Sight server.
    • /opt/collabnet/teamforge/runtime/scripts/codesearch/
  7. Run the following command to set the new password for Review Board.
    • cd /opt/collabnet/RBInstaller-16.10.4
    • python ./ --auth-scmuser