# config user settingFor example.
set auth-lockout-threshold x <----- Max number of failed login attempts (range[1-10]).
set auth-lockout-duration yy <----- Lockout period in seconds (range[0-4294967295]).
end
# config user groupMaximum authentication attempts is set to 2 and 'auth-lockout-duration' as 100 seconds.
edit "test_grp"
set member "test"
next
end
# config system interface
edit "mgmt"
set security-mode captive-portal
set security-exempt-list "mgmt-exempt-list"
set security-groups "test_grp"
set device-identification enable
set role lan
set snmp-index 2
next
end
# config user settingWhen user enters wrong credentials for two attempts, his account will be locked for duration 100 seconds and in the third attempt user will get the below message.
set auth-lockout-threshold 2
set auth-lockout-duration 100
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.