Skip to content

Instantly share code, notes, and snippets.

@atlasloewenherz
Forked from pwldp/Create GitLab root user
Created October 25, 2023 21:01
Show Gist options
  • Save atlasloewenherz/d70f595c0a062dcbe3397230f742d9c8 to your computer and use it in GitHub Desktop.
Save atlasloewenherz/d70f595c0a062dcbe3397230f742d9c8 to your computer and use it in GitHub Desktop.
gitlab-rails console production
user = User.create(:username=>'root',:password=>'xXxXx',:password_confirmation=>'',:email=>'root@example.com',:name=>'root')
user.save!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment