Fortigate - Resetting lost admin password

Author Johnny Josefsson on March 18, 2013 | Print | Bookmark
If you have lost the admin password for a Fortigate you
can reset it if you have physical access to the box.

Connect the console cable to the Fortigate and fire up
your favorite terminal emulator Reboot the firewall unit.
At the console login prompt, type in "maintainer" as the
userid.

Type in bcpbFGTxxxxxxxxxxxxx as the password.
xxxxxxxxxxxxx will be the S/N of the Fortigate.
The serial number is case sensitive so for example you
should use FGT60B, not FGT60b.


Also works on Fortianalyzer, FortiManager and so on but
hence the S/N / device name the password differ based on
the type of device. Also the password can need a dash
between the serial and the device type name depending on
how many serial chars there are.


After logging in, change the admin password:
config system admin
edit admin
set password 
next
end

Heads up:
You have to type the userid and password within a few
seconds of the login prompt first appearing. If you take
too much time you should reboot the firewall again.
URL Resetting a lost FortiGate Admin Password

Was this article helpful?

Yes No

Category: Fortinet, Fortigate

Last updated on March 18, 2013 with 1030 views