>sudo gitlab-rails console production
> user=User.where(name: "root").first
> user.password=12345678
> user.save!
> quit
>sudo gitlab-rails console production
> user=User.where(name: "root").first
> user.password=12345678
> user.save!
> quit
转载于:https://www.cnblogs.com/runnerjack/p/8510212.html