I intend to configure FortiGate such that users are required to re-authenticate every 10 hours, regardless of whether user session are active or inactive. I have applied the following commands, but the session timer seems to refresh instead of decreasing. Could advise if this configuration is correct?
config user setting
set auth-cert "Fortinet_Factory"
set auth-timeout 600
set auth-timeout-type hard-timeout
end
Remark: i suspect it refreshing because of allow-idle
Created on 12-10-2024 03:11 PM Edited on 12-10-2024 03:13 PM
Hi @dingjerry_FTNT , But when I run again the expire time get refreshs instead of decreasing, become 36000 again
Hi @Ravin_ ,
Weird. According to this KB:
It should be working.
BTW, what is your FortiGate firmware version?
Please apply the authtimeout in User Group for a try:
config user group
edit "STAFF GROUP"
set authtimeout 600
end
The change applies only to newly-created auth sessions.
Existing ones (created before the config change) will time out according to the rules as they were when the session was created.
Make sure you either test this on brand new logons, or simply wipe all pre-existing auth sessions to avoid confusion.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1742 | |
1113 | |
759 | |
447 | |
241 |
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.