TeamCity username / password

Hi. I installed teamcity a long time ago on my home computer. I try to use it again again, but I forgot the administrator username and password. Is there a default administrator name? and how can i get the password?

thanks

+7
passwords teamcity
source share
3 answers

So, you forgot the username and password in the teamcity instance.
How to reset password : described here .
How to get username :

  • go to teamcity data directory
  • open config\database.properties file
  • There is a connectionUrl property that points to the database in which some teamcity settings are stored.
  • look at the users table

Update

After you get the username, you can reset reset his password via the following (copied from the linked answer ):

  • Open a command prompt and go to the \webapps\ROOT\WEB-INF\lib folder
  • Follow these steps: ..\..\..\..\jre\bin\java.exe -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar ChangePassword username newpassword
+8
source share

From TeamCity 8, you can log in as superuser and change the password in this way. You just need to use the empty username and the last occurrence of the โ€œsuperuser authentication tokenโ€ found in the logs \ teamcity-server.log file as the password.

For more information, see the following information:

+13
source share

FYI, don't follow the tips for going through the users table. TeamCity is a quality product, so all passwords are salted / hashed (TC 9 below):

 mysql [teamcity]> SELECT id, password FROM users; +-----+---------------------------------------------------+ | id | password | +-----+---------------------------------------------------+ | 21 | k9d9yuE13FtQm8eT:1e24ad492777f94dec0c905127d1ea48 | | 13 | m1l79Yy03hjoxKdA:199d1ea48e28a78bafde576dd88e6de7 | | 85 | gOBpYHipOrtEGbUx:88f234847c07085798f9a4f8726e39df | +-----+---------------------------------------------------+ 
0
source share

All Articles