Technical Tip: How to recover admin account with super_admin profile
| 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 |



