gitlab修改用户密码

>sudo gitlab-rails console production

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

> user.password=12345678

> user.save!

> quit

posted @ 2018-03-05 17:26  Runner_Jack  阅读(17157)  评论(0编辑  收藏  举报