#进入管理终端gitlab-rails console -e production#查询user = User.where(id: 1).first#设置密码user.password=‘12345678’#确认密码user.password_confirmation = '12345678'#保存不然不生效user.save!