FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
tino_p
Staff
Staff
Article Id 314855
Description This article describes the behavior of resetting an incorrect admin account.
Scope FortiGate firewalls with a FortiOS version before 7.2.4. 
Solution

Sometimes, when Firewall has multiple 'super_admin' accounts, the user needs to remember the accounts correctly (case-sensitive, with super_admin profile) to reset it, using a 'maintainer' account:

 

admin.PNG

 

For example: account 'Hainh' is prof_admin, 'Dungdt' is super_admin. Using the 'maintainer' account, the user can only reset the 'Dungdt' account, not 'dungdt' (case-sensitive) or 'Hainh' (prof_admin).

Capture.PNG

 

Another note is during the reset password process, the 'show' command will not display any account in the console. It only shows the admin accounts after login with the user credential.

 

reset_SuperAdminAccount.png

Related article: 

Technical Tip: Resetting a lost admin password