Skip to main content
mfabed
New Member
May 19, 2022 7:59 PM UTC
Question

All superadmin is deleted

I have a firewall 300D, i find that all superadmin is deleted even those accounts liked with fortitoken

Once try to access the the firewall it's showing its not possible

Once i logine with a normal user and checked the administrator accounts its not showing any administrator accounts only one normal account

 

I try to reset the admin password through maintnair account its showing  admin account is not exist :expressionless_face: 

 

Anyone face same issue and what the solution?

FortiGate

 

9 replies

AEK
SuperUser
SuperUser
May 19, 2022 8:29 PM UTC

If you have a valid recent backup, reset the FortiGate then restore the config.

Translate
AEK
mfabed
mfabedAuthor
New Member
May 19, 2022 8:35 PM UTC

Mean have to reset the firmware image then restore the backup ?

But how can all superadmin deleted?

Translate
AEK
SuperUser
SuperUser
May 19, 2022 8:42 PM UTC

Yes, from factory reset.

I remember I've seen such case, but don't know how it can happen, probably corruption or bug.

Only a super admin can delete a super admin, and I as far as I know a super admin cannot delete himself. So in normal situation you cannot have zero super admin account on your FortiGate.

Translate
AEK
mfabed
mfabedAuthor
New Member
May 19, 2022 8:53 PM UTC

I guess have to add the admin user name before restore the backup where the backup file don't have any admin or superadmin privileges.

Translate
kvimaladevi
Staff
Staff
May 20, 2022 2:00 PM UTC

Hi,

 

After taking the backup and after you have reset the Fortigate, you can take a backup of the default config, it will have the default super admin configuration.

You can alter that specific super admin config and add your required username and credentials, paste the edited super admin config in your backup file and then upload so that you don't miss the super admin access again when you upload the backup file.

Translate
mfabed
mfabedAuthor
New Member
May 19, 2022 9:07 PM UTC

Thank you for your advice 

Appreciate 

Translate
AEK
SuperUser
SuperUser
May 20, 2022 4:24 PM UTC

There another point to consider, the backup that you make with a non-superadmin user will most probably not be full, depending on what is allowed to read by that user.. you will have to complete the messing parts manually after restore.

Translate
AEK
xsilver_FTNT
Staff
Staff
May 30, 2022 12:19 PM UTC

Option 1 - search and find KB about that
For example https://community.fortinet.com/t5/FortiGate/Technical-Tip-Reset-a-lost-admin-password-on-a-FortiGate-unit/ta-p/194937

 

Option 2 - restore config via USB
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Automatic-installation-of-Firmware-and-system/ta-p/197938
As by default it is enabled and so you need just USB stick and right config name on it.
config system auto-install
set auto-install-config enable
set auto-install-image enable
set default-config-file "fgt_system.conf"
set default-image-file "image.out"
end

 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024