Reset user password as Admin - No Mail reset

I am trying to reset a user that has forgotten their password with Gitlab CE v9.4.3 and am coming up short finding documentation which describes how to do so. Plenty of how to reset the root pass but not a specific user. I also do not see how/where I would be able to reset it within the admin area. Any direction would be very helpful.

This requires shell access but is a nice way I believe.
In this case id 1 is root. I believe that you can search by name instead of id as well.

gitlab-rails runner -e production " \
  user = User.find_by(id: 1);
  user.password = user.password_confirmation = 'the_secret_word'; \
  user.save!"
2 Likes

Worked. Very nice, Thank you!

I reset with regd email and it works!

gitlab-rails console production
user = User.find_by(email: 'emil_id')
user.password = 'secret_pass' //at least 8 characters long
user.password_confirmation = 'secret_pass'
user.save!
1 Like