TeamCity forgotten admin password - where to look?

后端 未结 19 1227
情书的邮戳
情书的邮戳 2020-12-23 11:19

I need to recover/reset the admin password for JetBrain\'s TeamCity.

I have full RDP access to the server so no problems there. It\'s just been 2 mo

19条回答
  •  北海茫月
    2020-12-23 11:51

    To change user password:

    Shutdown server

    Switch to the /webapps/ROOT/WEB-INF/lib directory

    Invoke the following command:

    Windows platform: java -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar ChangePassword

    Unix platform: java -cp server.jar:common-api.jar:commons-codec-1.3.jar:util.jar:hsqldb.jar ChangePassword

    You can skip the option, if you are using default path for TeamCity data files: /.BuildServer

    [Ref: http://confluence.jetbrains.com/display/TCD7/Changing+user+password+with+default+authentication+scheme]

提交回复
热议问题