TeamCity用户名/密码 [英] TeamCity Username / password

查看:652
本文介绍了TeamCity用户名/密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 很久以前,我在家用计算机上安装了teamcity. 我现在尝试再次使用它,但是忘记了管理员用户名和密码 是否有默认的管理员用户名? 以及如何获取密码?

Hi I installed teamcity longtime ago, on my home computer. I am trying to re-use it again now, but I forgot the admin username and password Is there a default admin user name? and how can I get the password?

谢谢

推荐答案

好的,因此您忘记了teamcity实例中的用户名和密码.
如何重设密码:在此处中进行了描述.
如何获取用户名:

Ok, so you've forgot username and password in your teamcity instance.
How to reset password: described here.
How to get username:

  • 转到 teamcity数据目录
  • 打开config\database.properties文件
  • 有一个connectionUrl属性,该属性指向存储一些团队合作性设置的数据库
  • 看看users
  • go to the teamcity data directory
  • open config\database.properties file
  • there is connectionUrl property which points out to database which stores some teamcity settings
  • take a look at users table

更新

获得用户名后,您可以通过以下方法重置其密码(从

After you get the user name you can reset reset its password via the following(copied from linked answer):

  • 打开命令提示符,然后转到\webapps\ROOT\WEB-INF\lib文件夹
  • 运行以下命令:..\..\..\..\jre\bin\java.exe -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar ChangePassword username newpassword
  • Open a command prompt and go to \webapps\ROOT\WEB-INF\lib folder
  • Run the following: ..\..\..\..\jre\bin\java.exe -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar ChangePassword username newpassword

这篇关于TeamCity用户名/密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆