← Back to knowledge base
mediumSystem & Upgrade

Admin Login Lockout After Failed Login Attempts

Confirmed 7/20/2026

Problem

How to specify after how many failed login attempts a new attempt will be blocked and for how long.

Environment

FortiGate

FortiOS version

All Versions

Solution

With the following configuration you can specify after how many failed admin Login Attempts a new Login Attempt will be blocked and for how Long:

config system global 
    set admin-lockout-threshold <1-10>     # e.g., 3 
    set admin-lockout-duration <seconds>   # e.g., 300 for 5 minutes, or 900 for 15 minutes 

end

Tags

No tags yet.

Community rating

/ 5 (0)

Discussion (0)

    No comments yet.