Commit 97f9a71bd5813fb6018ccd245e4579c9d4d77f23
1 parent
37c03d26
Exists in
master
and in
9 other branches
Documentation for changing the git user name
Showing
2 changed files
with
16 additions
and
0 deletions
Show diff stats
CHANGELOG
README.md
... | ... | @@ -171,6 +171,21 @@ git_data_dir "/mnt/nas/git-data" |
171 | 171 | |
172 | 172 | Run `sudo gitlab-ctl reconfigure` for the change to take effect. |
173 | 173 | |
174 | +### Changing the name of the Git user / group | |
175 | + | |
176 | +By default, omnibus-gitlab uses the user name `git` for Git gitlab-shell login, | |
177 | +ownership of the Git data itself, and SSH URL generation on the web interface. | |
178 | +Similarly, `git` group is used for group ownership of the Git data. You can | |
179 | +change the user and group by adding the following lines to | |
180 | +`/etc/gitlab/gitlab.rb`. | |
181 | + | |
182 | +```ruby | |
183 | +user['username'] = "gitlab" | |
184 | +user['group'] = "gitlab" | |
185 | +``` | |
186 | + | |
187 | +Run `sudo gitlab-ctl reconfigure` for the change to take effect. | |
188 | + | |
174 | 189 | ### Setting up LDAP sign-in |
175 | 190 | |
176 | 191 | If you have an LDAP directory service such as Active Directory, you can configure | ... | ... |