CLOVER🍀

That was when it all began.

GitLabのデフォルトのユーザー名は?

GitLabをOmnibusインストーラーでインストールし、最初にGitLabにブラウザでアクセスするとパスワードの変更を求められます。

このユーザーが「誰?」という話。特に名前も表示されていないのでわからないし、なにより忘れるのでメモしておこうかなと。

正体は、rootユーザーです。

ドキュメント上、記載がない気がするのですが…ここくらいでしょうか?

To reset the default admin password, run this Rake task with the username root, which is the default username of that admin account.

How to reset user password | GitLab

関連するissue。

First user should sign up instead of being the root user (#14688) · Issues · GitLab.org / GitLab FOSS · GitLab

一応、今回の確認環境です。

$ sudo gitlab-rake gitlab:env:info

System information
System:     Ubuntu 18.04
Current User:   git
Using RVM:  no
Ruby Version:   2.7.2p137
Gem Version:    3.1.4
Bundler Version:2.1.4
Rake Version:   13.0.3
Redis Version:  6.0.10
Git Version:    2.29.0
Sidekiq Version:5.2.9
Go Version: unknown

GitLab information
Version:    13.9.0
Revision:   f1bc6c9f752
Directory:  /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.5
URL:        http://192.168.0.3
HTTP Clone URL: http://192.168.0.3/some-group/some-project.git
SSH Clone URL:  git@192.168.0.3:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: 

GitLab Shell
Version:    13.16.1
Repository storage paths:
- default:  /var/opt/gitlab/git-data/repositories
GitLab Shell path:      /opt/gitlab/embedded/service/gitlab-shell
Git:        /opt/gitlab/embedded/bin/git