Maintenance Rake tasks

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab Self-Managed

GitLab provides Rake tasks for managing passwords.

Reset passwords

To reset a password using a Rake task, see reset user passwords.

Check password salt length

Starting with GitLab 17.11, the salts of password hashes on FIPS instances are increased when a user signs in.

You can check how many users need this migration:

Shell Copy to clipboard
# 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