TeamCity 忘记了管理员密码 - 去哪里找? [英] TeamCity forgotten admin password - where to look?

查看:21
本文介绍了TeamCity 忘记了管理员密码 - 去哪里找?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要恢复/重置 JetBrain TeamCity 的管理员密码.

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

我拥有对服务器的完整 RDP 访问权限,因此没有问题.我们使用它才 2 个月,所以现在我忘记了我的登录信息 - 我通常的登录不起作用.

I have full RDP access to the server so no problems there. It's just been 2 months since we used it so now I have forgotten my login - my usual ones don't work.

目前设置时没有数据库,所以希望用户名只是在某个文件中,但到目前为止还没有找到它.

It is setup without a database at the moment, so was hoping the usernames would just be in a file somewhere, but no luck finding it so far.

推荐答案

如果这些都不起作用,请参阅 http://sebastienlachance.com/post/Resetting-TeamCity-Password.aspx.

In case none of those works, see http://sebastienlachance.com/post/Resetting-TeamCity-Password.aspx.

打开命令提示符并转到 \webapps\ROOT\WEB-INF\lib 文件夹.现在输入以下内容:

Open a command prompt and go to \webapps\ROOT\WEB-INF\lib folder. Now type 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天全站免登陆