Create Gitlab Admin User After Authentication With AD

Create a GitLab Admin User password, When you authenticate git-lab with Active Directory server. So there will not be any admin user available for git-lab. you can also change user permissions in the GitLab.

Whoever will log in to your git-lab server will act like normal users with the same permission as other users. So you need to create an Admin user when your server is authenticated by the AD server.

Create GitLab Admin User After Authentication With AD:

You can make any of your AD users to the admin of Git-lab Server like I make a user ‘Panki” to the admin user of git-lab.

Check Out: Merge Branch In Git On Gitlab

With a Normal AD user, you can see there are no admin configuration settings.

Create Gitlab Admin User

Check Out: Error 502 While accessing the Gitlab

Create an Admin User with using below Commands

gitlab-rails console production

 gitlab admin user

Check Out: How To Add Member In GitHub Repository Project By Invite

Then run the below commands in sequence.

user = User.find_by(username: 'panki')

user.admin = true!

Check Out: LDAP Authentication With Gitlab Server

After exiting the console, Now run the below command to make changes in a file.

gitlab-ctl reconfigure

As you can see we have now the Configuration Git-lab settings.

You’re done gitlab admin password word change user permissions gitlab pe

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment