Get user session status and force log-out
FortiExtender enables you to get the session status of users currently logged in the system and to log them out if necessary.
To get the session status of current users:
FX201E5919000054 # get system admin status admin accprofile: super_admin session: Console start time: 2021-10-27 20:50:36 session: GUI start time: 2021-10-28 10:13:35 remote: 192.168.1.115 test1 accprofile: super_admin session: GUI start time: 2021-10-28 11:33:20 remote: 192.168.1.120 session: Telnet start time: 2021-10-28 13:42:15 remote: 192.168.1.115
To force-log out users:
FX201E5919000054 # execute disconnect-admin-session all All sessions console Console session telnet Telnet session ssh SSH session gui GUI session gui-console GUI Console session FX201E5919000054 # execute disconnect-admin-session all Usage: disconnect-admin-session <session-type> <logged-in-admin> FX201E5919000054 # execute disconnect-admin-session all test1