For When You Can't Have The Real Thing
[ start | index | login ]
start > FortiOS > 5 > Reset Admin Password

Reset Admin Password

Created by dave. Last edited by dave, 4 years and 240 days ago. Viewed 3,975 times. #2
[diff] [history] [edit] [rdf]


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


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


Nobody remembers any admin-level passwords for the firewall.


  • 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<serial-number>"
  • edit the admin password:
config system admin
edit admin
set password XxXXxXxx
  • now you can log out of the maintainer account and log in as the admin user and you are good to proceed.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt