Created on
10-21-2024
06:09 AM
Edited on
09-14-2025
10:53 PM
By
Jean-Philippe_P
Description | This article describes that in case of lost access to the admin account with a super_admin profile, follow the steps to restore the admin account with a super_admin profile. |
Scope | All FortiOS. |
Solution |
To begin, let us understand how it is possible to run into such a situation. Refer to this article: Technical Tip: Prof_Admin admin profile will not be able to back up the Super_Admin.
Now, once logged in as prof_admin, it is not possible to create a new admin account with a super_admin profile or restore the configuration file by appending it with a new admin account with a super_admin profile.
This picture depicts that an account with a prof_admin role cannot restore a configuration file.
The solution to this problem is explained in steps below:
config system admin edit "admin" set accprofile "super_admin" set vdom "root" set password password-in-plaintext next end
Note: Be sure that the admin account name is not repeated.
Option without the requirement to execute a clean install on the device. Requirements for this option:
Steps:
Alternative: There are more than 2 options to restore/add a super_admin account, but there are also some requirements:
Related articles: Technical Tip: Admin account can be pushed from FortiManager to FortiGate Technical Tip: Recover access to FortiGate via FortiGate Cloud |
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.