Skip to main content

Reset Admin Password

(2014-07-03)

Problem

Nobody remembers the password for a given admin account. We have another superadmin account that we can log in with.

Solution

Easy: delete the account and recreate it.

Harder: (ie under some circumstances you can't delete the admin account)

config system admin
edit admin
set password SOME-PASSWORD
next
end

Problem

Nobody remembers any admin-level passwords for the firewall.

Solution

  • Connect to the Firewall through console port using terminal emulator such as Putty.
  • Power off the Fortigate Firewall/Analyzer.
  • Power on the Firewall.
  • Wait for the Firewall name and login prompt to appear.
  • Within 14 seconds of the prompt appearing, log in with the username "maintainer" and the password "bcpb"
  • edit the admin password:
    config system admin
    edit admin
    set password XxXXxXxx
    end
  • now you can log out of the maintainer account and log in as the admin user and you are good to proceed.