Change GitLab Root user password

1. gitlab-rails console production

2. u=User.where(id: 1).first

3. u.password='123456'

4. u.password.confirmation='123456'

5. u.save

你可能感兴趣的:(Gitlab)