Skip to main content
jefazo92
Explorer II
July 11, 2024
Question

How can one edit the time in the bad logon reset counter?

Hi everyone, 

 

By default Fortigate is set to have a maximum of 3 password attempts and a 60 second lockout. But I want to set the bad logon counter to 15 seconds so that after a user has typed in for the first or second time the wrong credentials (before reaching the password attempt threshold) and waits for 15 seconds, the number of wrongly typed passwords is reset back to 0 and he can retry again. What commands should I run to make this happen?

4 replies

Hong_FTNT
Staff & Editor
Staff & Editor
July 11, 2024
jefazo92
jefazo92Author
Explorer II
July 11, 2024

Thank you @hbac but that is not what I am referring to. I already implemented those commands, but what I want is to change is the time one has to wait for the wrong password count to go back to 0 after, let's say, 15 seconds of no retry. This is independent from the lockout threshold and the lockout period

abarushka
Staff
Staff
July 11, 2024

Hello,

 

In case you are referring to administrator logging in, you may find useful the link below:

 

config system global     set admin-lockout-threshold <failed_attempts>     set admin-lockout-duration <seconds> end

 

https://docs.fortinet.com/document/fortigate/6.2.16/cookbook/631730/setting-the-administrator-password-retries-and-lockout-time

jefazo92
jefazo92Author
Explorer II
July 11, 2024

Thank you @abarushka but it is not what I am looking for. Please refer to my post and my reply to hbac to understand better what I want to implement.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT