TeamCity forgotten admin password - where to look?

后端 未结 19 1279
情书的邮戳
情书的邮戳 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:42

    We are using Teamcity 7 with MS SQL Server as the RDBMS.

    To reset your password you can use the following query:

    UPDATE users SET password = LOWER(SUBSTRING(sys.fn_sqlvarbasetostr(HASHBYTES('md5','your_new_password')),3,32))
     where username = "your_user_name";
    

提交回复
热议问题