Redmine password policy and expiration

Learn how to set Redmine password length, character class, name-based password and expiry rules, how lost password handling works, and where LDAP directories take over policy enforcement.

On this page

How to set a Redmine password policy that matches your security rules

Redmine enforces its own password rules for local accounts, while LDAP-authenticated users follow the policy of the directory that checks their password. That split decides where you set your standard: a production Redmine with local accounts, LDAP accounts or both needs the Redmine settings for the first group and the directory settings for the second. This page covers how to map a written password standard onto those two layers, when a team should set the rules deliberately instead of accepting what shipped, and how lost password handling and expiry fit into the picture. Setting names and available options change between releases, so confirm each one against the Redmine version you run. The supported line is 7.0.x, and the administration screens and configuration file of that line are the reference for your review.

Start by listing which accounts exist and how each one signs in. Local accounts are the ones Redmine stores and checks itself, usually service accounts, external contractors and any administrator who signs in without a directory. For those accounts, open the authentication settings in the administration area and compare each available rule with your standard, including minimum length, required character classes, rejection of passwords that contain the user's name or login, and any expiry period. Record the current value of every setting before you change it, because the effect on existing passwords depends on whether a rule applies only at the next password change or to all accounts. Ask the vendor or your own test environment to confirm that behavior for your version before you rely on it.

For LDAP users, Redmine does not hold the password, so a Redmine rule cannot fix a weak directory policy. Ask the directory team to show the password length, complexity, history and expiry settings that apply to the group of users who sign in to Redmine, and confirm that a Redmine account is disabled when its directory entry is disabled. Lost password handling also differs: a local user can reset a password through Redmine if that feature is enabled, while an LDAP user must go through the directory. Document both paths in your standard so that help desk staff know where to send each request. Finally, test one local and one LDAP account after each change, and check the audit trail of the administrator who made it, since a policy change that no one can explain later is hard to defend in a review.

Which password policy options to set and when each fits

This table compares the password rule categories an administrator can review in Redmine's Authentication settings, what each one guards against, and when a regulated or internal standard calls for it. Read each row alongside the exact labels and defaults in your installed version, because option names and locations can change between releases. The main takeaway is that rule strength matters less than matching the rules to your policy and confirming how they apply to accounts that sign in through LDAP.

Rule categoryWhat it protects againstWhen it fitsWhat to confirm in Authentication settings
Minimum lengthGuessing and brute force attacks against short passwordsAlmost every policy sets a floor, so this is the first rule to reviewThe minimum length field and whether it applies to new and changed passwords only
Required character classesPredictable passwords built from one character setPolicies that mandate mixed case, digits or symbolsWhich classes are required and whether the rule is enforced on every password change
Rejection of name or login in passwordPasswords that are trivially guessed from public profile detailsInternal standards that prohibit personal identifiers in credentialsWhether the check covers the login, first name and last name, and whether it runs on admin-set passwords
Password expiry periodLong-lived credentials that may have leaked without the owner noticingStandards that still require periodic change; many current guidance documents favor change on evidence of compromise insteadWhether expiry applies to all users, and how it interacts with LDAP-managed accounts
Password reuse preventionUsers cycling between a small set of familiar passwordsPolicies that name a history or reuse limitWhether the installed version enforces reuse checks at all, and whether a plugin or external directory is required
Lost password handlingAccount takeover through the reset flowAny deployment where reset is open to the internet or to a broad user baseWhether the lost password feature is enabled, how reset tokens expire, and who can trigger resets for administrator accounts
LDAP-managed accountsConflicting password rules between Redmine and the directoryOrganizations that authenticate users against Active Directory, OpenLDAP or FreeIPAWhich settings Redmine still applies to LDAP users, and where the directory's own policy takes over

How the password rules apply to local and LDAP accounts

Local accounts are users whose password hash Redmine stores in its own database. For these accounts, the administrator controls the password rules through the authentication settings in the administration area, so Redmine's minimum length, required character classes, name-based password rejection, expiry and lost password behavior all apply directly. Confirm the exact option names and defaults in the release you run, since the settings screen has changed across versions.

  • Minimum length: Set the value your policy requires and test it with a new account and a password change.
  • Character classes: Confirm which classes Redmine can enforce in your version and document any gap against your policy.
  • Name-based rejection: Check that a password containing the login, first name or last name is refused.
  • Expiry period: Decide whether expiry applies to all local users or only to specific roles, and tell users what happens at expiry.
  • Lost password behavior: Confirm that the reset link works, expires, and cannot be used to reveal whether an account exists.

Before rollout, create a test user, set a password that should fail each rule, and record the result.",

Setup sequence for a Redmine password policy

This sequence turns a written password standard into Redmine settings that are tested on staging, documented and reviewed before they reach production users. It also makes sure expiry is only switched on once users and administrators know how it will work.

  1. Map the written standard to Redmine

    Start by listing each requirement in your written password standard, such as minimum length, character classes, name-based password rejection, expiry and lost password handling. For each line, record whether Redmine enforces it natively, whether the directory enforces it when LDAP is used, or whether it needs a control outside Redmine. Have the security team sign off on this mapping before anyone changes a setting. Done means a one-page table exists where every requirement has an owner and a named place where it is enforced.

  2. Confirm the installed version and authentication settings

    Record the exact Redmine version in use and check the version against the support lines on the download page, since the password options you can see depend on the release. Then open the administration area, review the Authentication settings, and note which LDAP sources are configured and whether any users sign in through them. Confirm whether the instance is behind a reverse proxy or SSO layer that handles sign-in instead. Done means you have a written snapshot of the version, the current authentication settings and the list of accounts that use LDAP.

  3. Apply the rules on a staging instance

    Set the password rules from your mapping on a staging copy of the production instance, not on production itself. Keep the change limited to the settings the standard requires, and avoid turning on options that were not in the mapping. Make a screenshot or export of each saved setting so the configuration can be reviewed and repeated. Done means the staging settings match the mapping line by line and the saved values are captured as evidence.

  4. Test a rejected password and an accepted password

    Using a test account on staging, try to set a password that breaks each rule, including one that contains the user's name or login, then try one that satisfies every rule. Record the message shown for each attempt. Run the same tests for an account that signs in through LDAP, because the directory may apply different rules and the Redmine setting may not apply at all. Done means every rule has a rejected example and an accepted example, and any mismatch with the mapping has been logged for correction.

  5. Test the lost password request

    Request a password reset for a staging test account and follow the link the way a user would. Confirm that the email arrives, that the link works once and expires as expected, and that the new password is checked against the same rules. Also confirm what the request reveals to someone who enters an unknown address. For LDAP accounts, confirm that the user is sent to the directory's own reset process. Done means the reset path has been walked end to end for both a local account and an LDAP account, with results written down.

  6. Confirm warnings and administrator resets before enabling expiry

    Before turning on any expiry period, confirm how users will learn that a password is about to expire, which email or notice they will receive, and whether the email delivery on this instance works. Also confirm how an administrator resets a locked or expired password, and who is allowed to do it. Test both on staging with a test account whose expiry date is set to pass. Done means you can show a user receiving the warning and an administrator completing a reset, and the support team has a written procedure for both.

  7. Review the result with security and document it

    Walk the security team through the mapping, the staging test results and the expiry procedure, and record any decisions or exceptions with their approver. Then roll the approved settings to production in a planned change and repeat a short set of rejected and accepted password tests there. Store the mapping, screenshots, test log and approval in the place where your compliance evidence is kept. Done means production matches the approved settings, the production test results are on file, and the document names an owner for future reviews.

Decision path for where a Redmine password rule is enforced

The login or password change starts at the user's request to Redmine, which first checks whether the account is linked to an LDAP directory. LDAP accounts send the password to the directory, so the directory's own policy decides whether it is accepted and Redmine's local password rules do not apply. Local accounts pass through the rules Redmine enforces itself, and a lost password request follows a separate branch. Check the account type for each user group before you assume a rule applies.

Shows which system enforces the password rule for LDAP and local accounts.

Security and operational considerations for Redmine password rules

Password rules in Redmine only protect accounts when they fit how people actually work and sit alongside the other controls around sign-in. The cards below cover the trade-offs, the recovery paths attackers try first, and the records you will need when someone asks how the rules are enforced.

Complexity versus user behavior

Strict character-class rules often push users toward predictable patterns, such as a capital letter at the start and a digit at the end of a familiar word. Length usually does more for resistance to guessing than a long list of required classes. Before you raise the minimum length or add classes, ask your security team which failure you are trying to prevent, then test the rule with a few real users and watch how they respond.

Forced expiry and predictable changes

Mandatory rotation on a fixed schedule often produces small, guessable increments like Spring2026 followed by Summer2026. Many organizations now prefer rotation only after suspected compromise, combined with breach screening and multi-factor sign-in. If your policy still requires expiry, confirm with your auditor or policy owner exactly what interval and evidence it demands, and record the reason for it.

Lost password flow and email delivery

The lost password form is an account recovery path, so an attacker who controls a mailbox or can trigger reset emails can bypass a strong password policy. Check that reset links expire quickly, that the response does not reveal whether an account exists, and that the mail server authenticates senders properly. Confirm how Redmine's reset emails reach users in your environment, because a failed or delayed delivery also creates support load.

Administrator resets and audit trails

When an administrator sets a new password for a user, the change should be attributable to a named person and reviewable later. Limit who holds the administrator flag, avoid shared administrator logins, and decide in advance how a reset is verified before it is granted. Review how your deployment records administrative actions and where those logs are kept, and confirm retention with the team responsible for them.

Pairing rules with 2FA and sudo mode

A password rule does nothing against phishing or a stolen credential that is still valid. Two-factor authentication adds a second factor for sign-in, and sudo mode asks for re-authentication before sensitive administrative actions. Plan these together: decide which accounts must enroll in 2FA, how locked-out users recover, and how API clients behave when 2FA is enabled, so that a password change never becomes the only barrier.

Documenting rules as review evidence

Assessors usually ask what the configured rule is, who approved it, when it last changed, and how you know it is enforced. Keep a versioned record of the settings, the approval, and a dated test showing a rejected password. This document supports your own compliance readiness work, but it does not replace an independent audit or certification, which only an accredited assessor can issue.

What password expiry changes for users, service accounts and support

Turning on password expiry changes more than the login screen. Once a maximum password age is set, every local account reaches a forced change on the same schedule, so users who rarely log in can be surprised by a prompt the first time they return. Expect a rise in help desk tickets around each expiry date, mostly from people who cannot remember which password they set, who are locked out after several failed attempts, or who keep an old password in a mobile mail client or a saved browser entry. Before enforcing, decide who can reset a password for a user, how identity is verified for that request, and where the reset is logged. Confirm these answers against the password settings and account administration screens in your Redmine version, since the exact prompts and wording vary by release.

The accounts most likely to break are the ones no person logs into. Service accounts that scripts, CI jobs or integrations use for the REST API authenticate with HTTP basic authentication against the account password, so an expired or changed password stops those jobs without warning. Redmine's REST API also accepts a per-user API key, which is generally the safer choice for automation, but you should confirm how your version handles API keys for accounts that are forced to change passwords and whether a key is tied to the account state. Inventory every automation that uses a password before enforcement, move what you can to API keys, and give the owner of each remaining account a dated rotation task with a named person to update the stored credential.

Expiry works differently for users authenticated through LDAP. Redmine checks the credentials against the directory, so the directory's policy sets the password age, complexity and lockout rules, and changing those values in Redmine does not change them in Active Directory or OpenLDAP. Users in that group need their password changed in the directory, and support staff must know which system to send them to. Before rolling out, run a pilot with a small group of local and directory users, agree the message, the support path and the rollback step, and check the outcome with your identity team. Communicate the change at least a few days ahead through the channels your users already read, and state clearly who to contact when a prompt or lockout appears.

Limits to confirm in your Redmine environment

Redmine's password rules are set in the administration area and in configuration, and some of them behave differently for LDAP accounts, existing users and plugin-driven logins. Before you write the policy into a standard, check each of the points below in a test environment that runs the same Redmine version and login configuration as production.

Settings in your installed version

Confirm which password and authentication settings your installed Redmine release exposes, and whether each one applies to every local account or only to some. Check the version you run against the Redmine download page, since the supported lines differ in what receives updates. Record the exact setting names and default values in your test environment so the policy document describes what the software actually enforces.

Latest 7.0 release
7.0.2
Redmine download page

Treatment of existing passwords

Find out whether a tightened rule applies only when users next set a password or whether it forces a change at the next login. Existing passwords that fail the new rule may remain valid until they are changed, which can leave a gap your auditors will question. Test one account created under the old rule and confirm the behavior before you announce the new policy.

Name-based password rejection scope

Test whether the rejection of passwords containing a user's name covers every name field Redmine stores, such as login, first name and last name, and how it handles short names and partial matches. Try a set of test accounts with overlapping names. Document any gap, since a rule that appears to cover names but misses one field will fail a review.

Lost password email delivery

Lost password recovery depends on outgoing mail. Confirm that the SMTP configuration sends reset messages reliably, that the reset link expires within the period your policy sets, and that the flow does not reveal whether an account exists. Send a reset to a test mailbox and time how long the link stays valid. If mail delivery fails, users cannot recover accounts and administrators may reset passwords by hand, which bypasses your intended checks.

LDAP directory policy for logins

For accounts authenticated through LDAP, Redmine does not store or set the password, so the directory's own rules apply. Ask the directory team for the minimum length, complexity, history and expiry settings that govern those accounts, and compare them with the written standard. Where the two differ, the stricter rule should be documented as the one in force for those users.

Redmine installation guide

Plugins and reverse proxies in the login flow

A plugin, a custom theme or an authenticating reverse proxy can add a login page, bypass Redmine's password checks or change how sessions start. Inventory every component in front of or beside the login form and test each login path with a clean account. Single sign-on is not part of core Redmine, so any such flow needs its own policy review.

Questions teams ask before setting Redmine password rules

How much work does a Redmine password policy take, and what drives the effort?

The effort depends less on the settings themselves, which are short to change in Administration, than on the decisions behind them. The main drivers are the number of account sources (local accounts only, or local accounts plus one or more LDAP directories), whether LDAP users are in scope at all, how many compliance frameworks the policy must map to, how much the user base needs to be told in advance, and how much testing is needed on a non-production instance. A small internal instance with one account source and a written standard is a short job. A multi-directory setup with audit evidence requirements takes longer. Ask any provider to break the quote into these parts.

Can our own team set Redmine password rules without a partner?

Yes, in most cases. Redmine's password rules are set in the administration area, and the work is mostly deciding the rules and checking them. A partner adds value when the policy has to fit LDAP directories, be mapped to a compliance framework, or be tested before it reaches production users. Your team should own the written standard and the final decision. An implementation partner can prepare the configuration, a test plan and the evidence you will need, but the policy belongs to your organization.

What do we need to provide before work starts on password rules?

Four things make the work faster and cheaper. First, a written password standard that states minimum length, character requirements, banned content and expiry expectations. Second, an administrator account with access to the Administration settings for authentication. Third, a test instance that matches production closely enough to try the rules with real account types. Fourth, the people who administer any connected directory, such as Active Directory or OpenLDAP, because LDAP-backed accounts are not governed by Redmine's local password rules. If the standard does not exist yet, agree on its scope before configuring anything.

How long does it take to verify that password rules work?

Verification is usually shorter than the design work but should not be skipped. It covers several checks: creating a new local account and a password change with each rule, trying passwords that should be rejected, confirming how the rules apply to existing users, testing the lost password flow, and confirming that LDAP users are handled as your directory policy expects. The time depends on how many account types exist and how many rules are in the standard. Ask the provider to state the verification steps in the written scope, so you can judge the effort before agreeing to a timeline.

What happens to LDAP users when we change Redmine password rules?

Accounts that authenticate against LDAP do not use Redmine's local password for sign-in, so Redmine's local password rules do not govern their passwords. Their password length, complexity, history and expiry are controlled by the directory. Confirm this with the people who run the directory before you publish a policy, because a policy that promises one behavior to users while the directory enforces another causes support tickets and audit findings. Also check whether any local fallback accounts exist and whether they need the same rules as the rest of your local accounts.

Should password expiry be turned on in Redmine?

This is a policy decision, not a default setting to copy. Expiry forces periodic changes, which can push users toward predictable passwords or written notes, so many organizations pair it with strong length requirements, rejection of name-based passwords and an account lockout or review process instead. If your standard requires expiry, make sure it is documented, tested for local accounts and explained to users before enforcement. For LDAP-backed accounts, expiry normally follows the directory policy. Your compliance lead should confirm which control the expiry setting is meant to satisfy.

What should we ask for in a quote for Redmine password policy work?

Ask for a written scope that lists each account source covered, each rule to be configured, the test cases to be run and the evidence delivered at the end. Ask whether LDAP configuration is in or out of scope, who will change directory settings, and what happens if testing finds a problem. Ask what is one-time work and what recurs, such as reviewing the policy each year or after a Redmine upgrade. Ask how the work will be documented for your compliance team. Most engagements are fixed-scope, so the agreed scope should match the quote line by line.

Does a password policy change affect existing users immediately?

Confirm this on your test instance before production, since behavior depends on the Redmine version and the rules being changed. Generally, new rules apply when users set or change passwords, so existing passwords may not be re-checked until they are next changed. Plan a user notice that explains what changes, when expiry starts if it is enabled, and where to get help. Also check the session and sign-in impact of any forced reset, because users who are required to change a password may need to sign in again.

How DeployOpen scopes and delivers Redmine password policy work

DeployOpen treats Redmine password rules as part of the wider access design, not as a single settings change. We scope the policy against your security standard, build and test it in your own environment, and hand over the settings and the reasoning behind them so your team can run it after go-live.

How we scope

  • We compare your written password standard with what Redmine's account settings can enforce, and list any gaps.
  • We confirm which accounts authenticate locally and which come from LDAP, since directory policy overrides Redmine's own rules.
  • We agree the written scope, deliverables and timeline with you before work starts, as engagements are fixed-scope.

How we build

  • We configure minimum length, character rules, name-based password rejection, expiry and lost password behavior in a staging copy first.
  • We test each rule with real sign-up, password change and reset attempts across admin and standard user roles.
  • We check the settings against your installed Redmine version, since behavior can differ between the 7.0, 6.1 and 6.0 lines.

How we hand over

  • You receive a written record of every password setting, its value, and the policy requirement it maps to.
  • We document the lost password and LDAP paths, including who resets what and where a user must go for each.
  • Your administrators receive a short runbook covering account lockouts, forced resets and changes to the policy later.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, covering password policy changes after each Redmine upgrade.
  • We can retest the policy after your standard changes or after a plugin or LDAP configuration change.
  • Retainer scope and response expectations are set in writing, so you know what is covered before you need it.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.