Help us learn about your current experience with the documentation. Take the survey.

密码维护 Rake 任务

  • 版本:Free, Premium, Ultimate
  • 产品:GitLab Self-Managed

GitLab 提供了用于管理密码的 Rake 任务。

重置密码

要使用 Rake 任务重置密码,请参阅 重置用户密码

检查密码 salt 长度

从 GitLab 17.11 开始,当用户在 FIPS 实例上登录时,其密码哈希的 salt 会被增加。

您可以检查有多少用户需要进行此迁移:

# omnibus-gitlab
sudo gitlab-rake gitlab:password:fips_check_salts:[true]

# installation from source
bundle exec rake gitlab:password:fips_check_salts:[true] RAILS_ENV=production