diag system admin-session listEven though the user "Test" has logged out they still appear in the list (entry 3) and "Idle Timeout" will keep increasing.
FAZVM64 # diag system admin-session list
*** entry 0 ***
session_id: 27999 (seq: 1)
username: admin
admin template: admin
from: ssh(192.168.1.110) (type 0)
profile: Super_User (type 3)
adom: root
session length: 655 (seconds)
*** entry 1 ***
session_id: 21454 (seq: 0)
username: admin
admin template: admin
from: console (type 0)
profile: Super_User (type 3)
adom: root
session length: 679 (seconds)
*** entry 2 ***
session_id: 44540 (seq: 2)
username: admin
admin template: admin
from: GUI(192.168.1.110) (type 1)
profile: Super_User (type 3)
adom: root
session length: 219 (seconds)
idle: 211 (seconds)
*** entry 3 ***
session_id: 3027 (seq: 0)
username: Test
admin template: Test
from: GUI(192.168.1.110) (type 1)
profile: Restricted_User (type 1)
adom: root
session length: 211 (seconds)
idle: 188 (seconds)
diag system admin-session kill [session-id]In this example:
diag system admin-session kill 30272.3. Confirm changes by executing again the command "diag system admin-session list".
FAZVM64 # diag system admin-session listNo entries are now seen for user "Test".
*** entry 0 ***
session_id: 27999 (seq: 0)
username: admin
admin template: admin
from: ssh(192.168.1.110) (type 0)
profile: Super_User (type 3)
adom: root
session length: 1049 (seconds)
*** entry 1 ***
session_id: 20467 (seq: 2)
username: admin
admin template: admin
from: GUI(192.168.1.110) (type 1)
profile: Super_User (type 3)
adom: root
session length: 561 (seconds)
idle: 165 (seconds)
*** entry 2 ***
session_id: 44540 (seq: 1)
username: admin
admin template: admin
from: GUI(192.168.1.110) (type 1)
profile: Super_User (type 3)
adom: root
session length: 613 (seconds)
idle: 605 (seconds)
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 2024 Fortinet, Inc. All Rights Reserved.