Hey all, I've inherited a Fortigate 80C and recently I've lost all login access to this device. Everything else seems to work, like VPN access and our VLAN. I found a way online to reset the lost admin password using the Maintainer login to change it but I'm getting an error:
Domain1 login: maintainer Password: ******************** Welcome !
Domain1 # config system admin
Domain1 (admin) # edit admin new entry 'admin' added
Domain1 (admin) # set password Pass1
Domain1 (admin) # end User must have a profile object set operator error, -56 discard the setting Command fail. Return code -56
I've tried this a couple of times with the same result. I even tried it with my own login but no joy. I'm not a Fortigate guy so I'm not familiar with the device or any of its idiosyncracies. Am I missing a step here or is there a better way to do this?
Thanks,
Joe B
Thanks, Joe B
Solved! Go to Solution.
JBruyet,
Try this.
Config system admin
edit admin
set accprofile "super_admin" set vdom "root" set password <your_password>
end
Good luck.
JBruyet,
Try this.
Config system admin
edit admin
set accprofile "super_admin" set vdom "root" set password <your_password>
end
Good luck.
Thank you Carlos A Almeida, I just got in using your instructions.
Thanks again,
Joe B
Thanks, Joe B
Sooo old, forgive the bump, but just confirming and thanking that this just worked for me also.
My Fortwifi 60c suddenly stopped working and couldn't log in - same as this guy (https://forum.fortinet.com/tm.aspx?m=96238)
I used fortiExplorer to upload new firmware (https://support.fortinet.com/Download/FirmwareImages.aspx) and then had to get one of each of these to be able to cli in:
http://www.pbtech.co.nz/index.php?z=p&p=ADPDRJ459F - Dynamix DB9 Female to RJ-45 ADAPTOR(8 Wire) Extend Serial port via CAT5 Cable
http://www.pbtech.co.nz/index.php?z=p&p=ADPATNUC-232A&name=ATEN-UC232A-USB-to-RS232-Serial-(RS-232)-... - ATEN UC232A USB to RS232 Serial (RS-232) DB9 Convertor DB-9 Male 35cm
and I got a crossover cable which I didn't need.
Then followed these 2 lots of instructions:
http://docs.fortinet.com/...ost_admin_password.pdf
http://help.fortinet.com/fweb/553/Content/FortiWeb/fortiweb-admin/connecting_gui_cli.htm
Choice :)
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1771 | |
1116 | |
766 | |
447 | |
242 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.