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.
    • 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. Provision services.
    • teamforge provision
    Note:

    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.
    • teamforge start
  6. Run the Black Duck Code Sight post-install.sh script.
    Important: If the Black Duck Code Sight is running on the same server, run the post-install.sh script. If the Black Duck Code Sight is running on a separate server, follow steps one to four and execute the post-install.sh script on the Black Duck Code Sight server.
    • /opt/collabnet/teamforge/runtime/scripts/codesearch/post-install.sh
  7. Run the following command to set the new password for Review Board.
    • cd /opt/collabnet/RBInstaller-17.8.14
    • python ./install.py --auth-scmuser