How To Create Gitlab Admin User after authentication with AD On Ubuntu 18
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GitLab is a self-hosted git repository management system. Offcial wesbite -https://about.gitlab.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:
Ubuntu 18.04.LTS Bionic Hostname - www.yourdomain.com - ip Address - 192.168.1.40
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gitlab Version - GitLab CE 12.10.3
gitlab-rails console -e production
user = User.find_by(username: "ojal")
user.admin = true
user.save!
exit
gitlab-ctl reconfigure
http://www.yourdomain.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment