Changing user password with default authentication scheme
The following procedure is suitable for default authentication scheme and default database (HSQLDB) only.
To change user password:
Shutdown server
Switch to the
< TeamCity home >/webapps/ROOT/WEB-INF/lib
directoryInvoke the following command: Windows platform:
java -cp server.jar;common-api.jar;commons-codec-1.3.jar;util.jar;hsqldb.jar;log4j-1.2.12.jar ChangePassword <username> <new password> <TeamCity data directory>Unix platform:
java -cp server.jar:common-api.jar:commons-codec-1.3.jar:util.jar:hsqldb.jar:log4j-1.2.12.jar ChangePassword <username> <new password> <TeamCity data directory>You can skip the
< >
option, if you are using default path for TeamCity data files:<user home>/.BuildServer
Last modified: 20 April 2023