Recent Posts
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Today
Total
02-23 18:26
250x250
관리 메뉴

변군이글루 미러 사이트(Mirror Site)

[리눅스] GitLab root 초기 비밀번호 본문

리눅스

[리눅스] GitLab root 초기 비밀번호

변군Dev 2021. 11. 9. 23:15
728x90

GitLab root 초기 비밀번호

- GitLab Version : 14.4.2

gitlab 로그 중간에 출력

$ docker-compose logs -f
...
gitlab    | Notes:
gitlab    | Default admin account has been configured with following details:
gitlab    | Username: root
gitlab    | Password: You didn't opt-in to print initial root password to STDOUT.
gitlab    | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
gitlab    |
gitlab    | NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
...

/etc/gitlab/initial_root_password 파일 참고

$ docker-compose exec gitlab cat /etc/gitlab/initial_root_password
# WARNING: This value is valid only in the following conditions
#          1. If provided manually (either via `GITLAB_ROOT_PASSWORD` environment variable or via `gitlab_rails['initial_root_password']` setting in `gitlab.rb`, it was provided before database was seeded for the first time (usually, the first reconfigure run).
#          2. Password hasn't been changed manually, either via UI or via command line.
#
#          If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.

Password: yvaADn2jDuqrbMTb3WILuaBjrlF5nYoF7PB4bsUi3Ls=

# NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours.

728x90