Manage or Restore the Default Administrator Account
This page provides instructions for managing the default admin user account.
Reset the Default Administrator Account
When you install YouTrack for the first time, you set the username and password for the default administrator account. This account is assigned the System Admin role in the Global project.
If you forget the credentials for the default administrator account or have inherited an installation configured by another administrator, you can reset the username and password for the account to their default values. You can also set the system properties for the default administrator when you restore the account.
You can also use this procedure when two-factor authentication is enabled and the default administrator no longer has access to the authentication app that is paired with the account. Resetting the default administrator account to its default state also disables two-factor authentication.
If you've forgotten the password for the default admin user account, you can restore it using the -Djetbrains.youtrack.admin.restore=true parameter. For more information, see Configuration Parameters.
To restore the default admin user account:
Add the following line to
youtrack.jvmoptionsin the host directory mapped to the container'sconfdirectory:-Djetbrains.youtrack.admin.restore=trueStart the container with
docker start <containerId>. The default administrator credentials and permissions are reset.Stop the container, remove the reset property, and start it again. The property must not remain enabled for subsequent starts.
Sign in with
admin/adminand change the administrator password.