1. 程式人生 > >gitlab修改用戶密碼

gitlab修改用戶密碼

BE pan OS use root b- ber AI UC

>sudo gitlab-rails console production

> user=User.where(name: "root").first

> user.password=12345678

> user.save!

> quit

gitlab修改用戶密碼