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
With TeamCity 5 using MySQL (probably other versions and RDBMs as well, but untested), it's possible to update the password directly via SQL:
mysql> update users set password = md5("mypass123") where username = "bob";
Nevertheless, I'd stick with the CLI versions already mentioned by others if there isn't a good reason not to do so.