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 255 days ago. Viewed 4,000 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(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<serial-number>"
  • 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.
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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt