Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
JBruyet
New Contributor

Unable to save updated admin login data from Maintainer access

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

Thanks, Joe B
1 Solution
Carlos_A_Almeida
New Contributor III

JBruyet,

 

Try this.

 

Config system admin

edit admin

set accprofile "super_admin" set vdom "root" set password <your_password>

end

 

Good luck.

View solution in original post

3 REPLIES 3
Carlos_A_Almeida
New Contributor III

JBruyet,

 

Try this.

 

Config system admin

edit admin

set accprofile "super_admin" set vdom "root" set password <your_password>

end

 

Good luck.

JBruyet
New Contributor

Thank you Carlos A Almeida, I just got in using your instructions.

 

Thanks again,

 

Joe B

Thanks, Joe B

Thanks, Joe B
info2
New Contributor

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 :)

 

 

Labels
Top Kudoed Authors