Fortigate Password recovery

https://docs.fortinet.com/uploaded/files/1708/Resetting_a_lost_admin_password.pdf

via console access 9600,n,8,1:

logon immediately after login prompt with:

username: maintainer

password: bcpbFGT60E4Q16092486

(bcpb+serialnr)

Change old password with:

In a unit where vdoms are not enabled:

config system admin
edit admin
set password <psswrd>
end
In a unit where vdoms are enabled:

config global
config system admin
edit admin
set password <psswrd>
end

 

reset to factory default with:

exec factoryreset

Hits: 26