Description |
This article describes how to remove all previous FortiToken references from the users through a script which is essentially helpful in case of RMA when Tokens need to be moved to a new device. |
Scope | FortiGate |
Solution |
Result:
Regular Expression:
set fortitoken "FTKMOB[A-Za-z0-9]{<No. of characters following FTKMOB>}"
Example:
set fortitoken "FTKMOB[A-Za-z0-9]{10}"
After Replacement:
Regular Expression:
set email-to "([^"]*)"
Regular Expression:
set passwd-time.*$
Regular Expression:
set passwd.*$
^\s*\r?\n
|
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.