Reset the GitLab Enterprise (CORE) administrator password
If you can’t access the application using the default password or if you wish to modify a user’s password, you must reset the password. To do so, run the GitLab console by executing the following:
$ sudo gitlab-rails console -e production
Once the console is loaded, follow the “How to reset user password” instructions from the GitLab official documentation