Technical Tip: How to de-authenticate a specific authenticated user
Description
This article provides instructions on how to de-authenticate users currently authenticated on a FortiGate using CLI or GUI.
Scope
Solution
- Via CLI: This is done in the VDOM where the user was authenticated.
FSSO:
diagnose debug auth fsso filter user <----- USERNAME.
diagnose debug authd fsso clear-logon <----- Clear the filter.
diagnose debug auth fsso filter clear <----- Kerberos User (only available in 5.4 or above).
diagnose wad user clear <ID> <IP> <VDOM> <-----Use this command to de-authenticate the user other.
diagnose firewall auth filter user<----- USERNAME.
diagnose firewall auth clear <----- Clear the filter.
diagnose firewall auth filter clear
- Via GUI: For earlier FortiOS versions up to v6.2.x: Login to the FortiGate GUI and go to Monitor -> Firewall User Monitor. Select the concerned user and select the 'De-authenticate' button.


To view users who have logged in using FSSO authentication, enable the 'Show all FSSO Logons'.

Enable 'Show all FSSO Logons' on the top right corner, to view FSSO login users.

To view firewall users, disable 'Show all FSSO Logons' in the top right corner.

It is either possible to 'left-click' the username and then press 'Deauthenticate' or 'right-click' the user and select 'Deauthenticate'.

