Skip to main content
RolandBaumgaertner72
New Member
March 11, 2024
Solved

Lost super_admin - how to exec factoryreset?

  • March 11, 2024
  • 3 replies
  • 1765 views

Hi,

 

we have a HA config where sometime ago we backup them up with the wrong prof-admin. So now we dont have any super_admin accounts and the FGs have 7.4.3 so no maintainer option, right?

 

I was thinking of changing the cnfig file, restore a new master config with super_admin instead of prof_admin in the admin accounts and change slave to master, reset master and set up new HA.

 

Now I found out that I cant execute factoryreset, I connected via console and I guess again admin rights.

 

What can I do?

 

Thanks

Best answer by sw2090

In this case there is two options:

 

1) use the reset button - if your FGT happens to have one. Press it within the first 2min after startup and watch your serial console. It will then perform factory reset.

2) if there is no reset button the only way will be to format the boot partition which afterwards will require you to flash new firmware image via tftp.

3 replies

sw2090
SuperUser
sw2090Answer
SuperUser
March 11, 2024

In this case there is two options:

 

1) use the reset button - if your FGT happens to have one. Press it within the first 2min after startup and watch your serial console. It will then perform factory reset.

2) if there is no reset button the only way will be to format the boot partition which afterwards will require you to flash new firmware image via tftp.

ozkanaltas
Valued Contributor III
March 11, 2024

Hello @RolandBaumgaertner72 ,

 

If your unit has a reset button you can use this button for factory reset.

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-To-Reset-To-Factory-Default-Configuration/ta-p/198660

 

Or you can reset your unit with boot interrupt. You can install a new image on your unit with TFTP.

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Formatting-and-loading-FortiGate-firmware-image/ta-p/197617

RolandBaumgaertner72
New Member
March 11, 2024

Perfect, we have 81E and they have reset button. It worked, loaded the config file with super _admins and now we only have to add the slave again.