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?
Thank
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 TeamCity 8 中,您可以以超级用户身份登录并以这种方式更改密码。您只需使用空用户名和在logs\teamcity-server.log 文件中找到的最后一次出现的“超级用户身份验证令牌”作为密码。
请参阅以下内容了解更多信息:
From TeamCity 8 you can log in as a super user and change the password that way. You just need to use an empty username and last occurrence of the "super user authentication token" found in the logs\teamcity-server.log file as your password.
Please see the following for more information:
好的,您忘记了 teamcity 实例中的用户名和密码。
如何重置密码:此处描述 .
如何获取用户名:
config\database.properties
文件connectionUrl
属性,该属性指向存储一些 teamcity 设置的数据库,users
table更新
获得用户名后,您可以通过以下方式重置密码(复制自链接的答案):
\webapps\ROOT\WEB-INF\lib
文件夹..\..\..\..\jre\bin\java.exe -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar 更改密码用户名新密码< /代码>
Ok, so you've forgot username and password in your teamcity instance.
How to reset password: described here.
How to get username:
config\database.properties
fileconnectionUrl
property which points out to database which stores some teamcity settingsusers
tableUpdate
After you get the user name you can reset reset its password via the following(copied from linked answer):
\webapps\ROOT\WEB-INF\lib
folder..\..\..\..\jre\bin\java.exe -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar ChangePassword username newpassword
仅供参考,不要遵循浏览
users
表的建议。 TeamCity 是一款优质产品,因此所有密码均经过加盐/散列处理(下面的 TC 9):FYI, don't follow the advice of going through the
users
table. TeamCity is a quality product, so all passwords are salted/hashed (TC 9 below):