Skip to main content
kcheng
Staff & Editor
Staff & Editor
March 1, 2022

Technical Tip: Number of last password recorded in FortiOS

  • March 1, 2022
  • 0 replies
  • 4352 views
Description This article describes the number of last passwords stored in FortiGate when the administrator disables the option of Allow password reuse.
Scope FortiOS.
Solution

When password policy is enabled, users will have the option to disable reuse of the last password with the following command:


config system password-policy
    set reuse-password disable
end

 

In the GUI, the option can be disabled by navigating to System -> Settings -> Password Policy and toggling the option of Allow password reuse to off (default setting: on):


Password_reuse.png

 

When this setting is configured, the user will not be able to reuse the last 3 passwords recorded in FortiOS.

 

Starting in FortiOS v7.6.x, the password history threshold can be configured to store up to 15 previously used passwords.

                           PasswordHistory.jpg

 

It is not possible to modify the number of last passwords stored.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!