>sudo gitlab-rails console production

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

> user.password=12345678

> user.save!

> quit

相关文章: