Skip to main content
Contributor III
August 14, 2006
Question

Urgent helps needed!! Unable to login

  • August 14, 2006
  • 14 replies
  • 16920 views
Hi all, I have forgotten the fortigate admin password and unable to login. Info: fortigate 50A All helps appreciated

    14 replies

    Fireshield
    New Member
    August 14, 2006
    Password recovery must be from the console and can only be done within the first 2 minutes of the unit powering up (not reboot, full power down cycle). Do the following steps: - Power cycle the Fortigate - Connect via console and login with the following credentials: Username: maintainer Password: bcpbFGT-<serial number> - config system admin - set password <New Password Here> - end You should now have a new admin password. Good luck!
    rb400
    New Member
    July 8, 2008
    ORIGINAL: Fireshield Password recovery must be from the console and can only be done within the first 2 minutes of the unit powering up (not reboot, full power down cycle). Do the following steps: - Power cycle the Fortigate - Connect via console and login with the following credentials: Username: maintainer Password: bcpbFGT-<serial number> - config system admin - set password ...
    Recently tried on a FGT 400, some points for those in a panic trying this for the first time: 1. Less than two minutes, this seems to include the boot time so be ready when you get the login prompt, enter " maintainer" immediately...no time to play. 2. password is bcpb<serial number> (no <>, on a cold boot the Serial Number is displayed on the console if you are in doubt. for example password = bcpbFGT4002329300399 I saw Serial Number: FGT4002329300399 during cold boot. 3. after " config system admin" , you must " edit admin" before the " set password."
    Paul_Dean
    Visitor III
    October 12, 2006
    Does anyone know if this is still the case? Is there any other way to reset the admin password? Thanks Paul
    AKrause
    New Member
    October 12, 2006
    Hi, this recovery method works fine! Had to accomplish it several times, thanks to the FortiManager special-character bug. :)
    Contributor III
    October 12, 2006
    Is that the issue with using " in the password or is there others?
    Paul_Dean
    Visitor III
    October 12, 2006
    Cool, thanks. Bit of a bummer though. Seems odd that they have an " admin users" category in System -> Admin -> Access Profile but you can' t change passwords of other users.
    Contributor III
    July 23, 2007
    I have try it on a fortigate 100A it doesn' t work... it seems the password is incorrect Have you got a solution to recover my password ?
    Fireshield
    New Member
    July 23, 2007
    Unless something has recently changed, this always works. If it isn' t working for you then you are either not starting from a cold boot (disconnecting power), using the serial number incorrectly (some have dashes and some don' t), or you' re taking too long. The password follows the syntax bcpb<full serial number> and it is case sensitive, with all letters in the serial number being caps.
    Contributor III
    July 23, 2007
    Unless something has recently changed, this always works. If it isn' t working for you then you are either not starting from a cold boot (disconnecting power), using the serial number incorrectly (some have dashes and some don' t), or you' re taking too long. The password follows the syntax bcpb<full serial number> and it is case sensitive, with all letters in the serial number being caps.
    thanks, i have restart my fortigate with disconnecting power, i type several possibility : bcpbFGT-FG100A3806205245 bcpbFGT-3806205245 bcpbFGTFG100A3806205245 bcpb-FG100A3806205245 bcpbFG100A3806205245 When i press enter i have this error message: " the hashed password length is invalid. Login incorrect" I have a french version, i don' t know if it' s important ? (It' s a serial exemple not my serial)
    Contributor III
    July 23, 2007
    I saw same problem on FGT60. The only way I found when maintainer didn' t work - boot and download of firmware from tftp. It will erase any configuration and will reset the machine to default settings, so you will need to restore your saved configuration from some backup.
    Contributor III
    July 23, 2007
    And it' s impossible to reset the fortigate while opening the box, cause i have seen a jumper and a battery ??
    Fireshield
    New Member
    July 23, 2007
    I have been told many times that " this process doesn' t work" , yet every time I have been in front of the dysfunctional box it worked just fine for me. In your examples above, bcpbFG100A3806205245 would be the password for the maintainer account.
    Contributor III
    July 23, 2007
    On small boxes it does not work well, I have check it on few FGT60. Anyway, if configuration backup is available and not encrypted there is a way to recover after you have the box reflashed from TFTP: You need to open configuration backup with a wordpad, then locate next part of configuration: ------snip------------------ config system admin edit " admin" set accprofile " super_admin" config dashboard edit " sysinfo" set column 1 next edit " licinfo" set column 1 next edit " jsconsole" set column 1 next edit " sysres" set column 1 next edit " sysop" set column 2 next edit " alert" set column 2 next edit " statistics" set column 2 next end set vdom " root" set password ENC $1$2a9fb41d7$wiThGEC3Fbjnlv/Nnh91m. next -----------snip----------- replace ENC $1$2a9fb41d7$wiThGEC3Fbjnlv/Nnh91m. with " 123" save as different filename Now restore the " configuration" file. Logon as admin with password 123. I just tested it with FGT60 (MR4) - reset to default, then recover of patched configuration and I got my FGT60 back.... maintainer, by the way, does not work on it....
    Contributor III
    July 23, 2007
    ithin the first 2 minutes of the unit powering up (not reboot, full power down cycle). Do the following steps:
    Many thanks I have reset the fortigate while uploading a new firmware by tftp. Great support. ps: scuse my bad english.
    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!