Technical Tip: How to set a maximum number of logged-in administrators
Description
Â
This article describes how to set the maximum number of concurrent administrators that can be logged into a FortiGate.
Â
Scope
Â
FortiGate.
Solution
Â
The maximum number of concurrent administrators that can log in at the same time is 100 by default. The following steps can be used to configure the maximum number of concurrent administrator logins.
Â
In this example, a maximum of 5 concurrent administrator logins will be able to manage the unit at the same time.
FGT# config system global
FGT(global) # set admin-login-max
   please input integer value (1-100)
FGT(global) # set admin-login-max 5Â
FGT(global) # endÂ
The user will receive the following message when the maximum number of concurrent sessions has been reached:
Â

Â
If logging in via SSH when the maximum limit is reached, an option to log out an active session is provided:

Â
To list the active admin sessions, execute the following command:
Â
get system admin listÂ
To terminate the active session:
Â
execute disconnect-admin-session <index_number>
For example:
silicon-esx54 # exe disconnect-admin-session ?
<integer> Index of admin to be disconnected
Currently connected admins:
INDEX USERNAME TYPE VDOM PROFILE FROM TIME
0 admin https root super_admin 172.30.160.117 Mon Feb 16 22:22:58 2026
1 admin jsconsole root super_admin 172.30.160.117 Mon Feb 16 22:53:55 2026Â
Example: To disconnect the HTTPS session initiated by the user admin from 172.30.160.117:
Â
execute disconnect-admin-session 0Â
Related documents:
