How to reset super user password in TeamCity?

TeamCity
TeamCity

After a very long time, I had a need to visit TeamCity server on my local system and I was not able to remember the user credentials. So, I thought to write this post for my records to how to reset super user password in TeamCity. This allows you to reset passwords for any user account and provide access to the application.

It is very simple to be honest, all you need to do is just follow these steps below:

  1. Open your TeamCity’s log folder. (Default location is C:\TeamCity\logs)
  2. Open file named `teamcity-server.log` file using Notepad or Notepad++ or any text editor.
  3. Search for following in the content: “Super user authentication” and copy the token.
  4. Open TeamCity’s login page in browser, leave Username text-box empty and paste the token in Password text-box to login.
  5. Yay, you should be logged in as a super user. You can now manage any Administration tasks like go to the User Management to reset passwords for user(s).

 

Siddharth Pandey

Siddharth Pandey is a Software Engineer with thorough hands-on commercial experience & exposure to building enterprise applications using Agile methodologies. Siddharth specializes in building, managing on-premise, cloud based real-time standard, single page web applications (SPAs). He has successfully delivered applications in health-care, finance, insurance, e-commerce sectors for major brands in the UK. Other than programming, he also has experience of managing teams, trainer, actively contributing to the IT community by sharing his knowledge using Stack Overflow, personal website & video tutorials.

Advertisment ad adsense adlogger