Create Gitlab Admin User After Authentication With AD
Create 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.
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.
Check Out: Error 502 While accessing the Gitlab
Create an Admin User with using below Commands
gitlab-rails console production
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.
As you can see we have now the Configuration Git-lab settings
You’re done gitlab admin password word change user permissions gitlab pe