- GitLab Cookbook
- Jeroen van Baarsen
- 289字
- 2021-08-05 16:55:04
Logging in for the first time
When you have installed your server, you need to log in. GitLab comes with a built-in administrator account.
How to do it…
In this recipe, we will log in and create our own administrator account as follows:
- Go to your domain where GitLab is installed (that is,
gitlab.example.com
). - Log in using the username
root
and password5iveL!fe
. - You need to choose a new password; pick whatever you like.
- Log in with the new information.
- Go to the Admin area section, as shown in the following screenshot:
- Navigate to Users | New User.
- Fill in the information to create your own user. Don't forget to check the Admin checkbox.
- Now, click on Create user.
An e-mail will be sent to the given e-mail address. This e-mail will contain the new password for this account.
- Log out from GitLab and log in with your new account.
- You need to choose a new password and log in again.
- Go to the Admin area section and click on Users.
- Click on Block for the administrator account.
How it works…
As GitLab ships with a default administrator account, this makes it a bit unsecure by default. Therefore, when you don't change anything about your setup, everyone will be able to log in.
To ensure that we have a secure GitLab installation, we created a new administrator account, and gave it an administrator access. We also want to be sure that the default shipped account is not useable anymore, so that's why we logged in with our own account and disabled the account given by GitLab.
We had to log out first, as GitLab does not allow us to disable the account that is currently logged in.
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- Mastering Ember.js
- Processing互動(dòng)編程藝術(shù)
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲(chóng)案例實(shí)戰(zhàn)全流程詳解(入門(mén)與提高篇)
- C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo) (第2版)
- Julia for Data Science
- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Visual Studio Code 權(quán)威指南
- C++編程兵書(shū)
- R語(yǔ)言:邁向大數(shù)據(jù)之路(加強(qiáng)版)
- Java Web開(kāi)發(fā)實(shí)例大全(基礎(chǔ)卷) (軟件工程師開(kāi)發(fā)大系)
- Python預(yù)測(cè)分析實(shí)戰(zhàn)
- Java自然語(yǔ)言處理(原書(shū)第2版)
- Less Web Development Cookbook
- Processing開(kāi)發(fā)實(shí)戰(zhàn)