Encryption of passwords in teamserver.properties
Accepted answer
4 other answers
Hi all
The teamserver.properties file contains a database user password. What technique/method is used to encrypt this password? The security team at my customer wants to know.
thanks
anthony
Can someone answer this: We don't necessarily need to know the encryption/encoding method because it would be unsafe to publish that information; however,
This would be extremely helpful because we have to change passwords every 90 days. It is easier to edit the teamserver.properties file rather than change passwords in the UI. After editing passwords (in the clear) in the teamserver.properties file, we would like to run a command line tool to encode the passwords.
Thanks.
From RTC Help:
- 1. From a command line, navigate to installdir/buildsystem/buildengine/eclipse, where installdir is the Build System Toolkit installation directory.
2. Type j
3. When prompted, type the password. The password is encrypted and stored in a pass.txt file that is located in the Build System Toolkit installation directory.
Then...
- 1. Copy the contents of the pass.txt file and assign it to the password property in the teamserver.properties file.
2. Enclose the value in square brackets .
3. And finally add an escape (backward slash) before each trailing =. For example == becomes \=\=.
Works for me!
Comments
We tried this method, and it is not working for us.
The encrypted password we see when we update the password in the admin UI and the encrypted we are getting in the text file seems to be different too.
Do not comment on 12 year old answers.
If you have a question, ask your own question - you can refer to other questions by providing a link.
Also see the guidelines: https://jazz.net/forum-guidelines.jsp
Approach 2 to change the userid/password after expiry:
1. Try opening publicURI/jts/setup & publicURI/ccm/setup and skip to the step number by overtyping the step number on URL and give the userid and password > Test connection > Next to save the setting.
2. Logon to publicURI/jts/admin & publicURI/ccm/admin > Server > Advanced properties > edit userid and password for dataWareHouse and save the settings.
Note: when we try the URL we might get 400, refresh a couple of times and we landed on the login page.
> openssl passwd -1 db2inst1
$1$EkV/dJFe$WtUzB9wboZm2R8WbQJ4Ho1
>
Comments
Just curious, why did you say teamserver.properties should store an MD5 string?
Well, currently, it seems to accept either plaintext (when used as an input before the repotools_jts setup operation) or a custom-encrypted value (when stored as a runtime parameter after the setup operation).
Oracle password does not rely on the OS, and yet, its encrypted form is stored in teamserver.properties file. How do you deduce this?