Skip to main content
Visitor II
May 27, 2026
Solved

lost full admin access after administrator profile mapping misconfiguration

  • May 27, 2026
  • 2 replies
  • 143 views

Hello,

While configuring Administrator Profile Mappings on FortiNAC, I accidentally associated all administrator profiles, including local administrator accounts, with a limited “Device Manager” type profile group. Since this change, I no longer have Full Admin privileges.

I only created a profile mapping, is there a way to delete this Administrator Profile Mapping from the CLI?

I found the following CLI command that allows restoring a previous configuration backup:

execute restore config local <backup_name>

If I restore a backup taken before this misconfiguration, will it restore the previous administrator mappings and resolve the issue?

 

best regards.

Best answer by ebilcari

A restore of the database is required to revert this change. FNAC takes a database backup every midnight:

fnac76# execute restore database local FortiNAC_DataBase_BackUp_2026_05_27_00_01_48_fnac76.gz

 

2 replies

ebilcari
Staff
ebilcariAnswer
Staff
May 27, 2026

A restore of the database is required to revert this change. FNAC takes a database backup every midnight:

fnac76# execute restore database local FortiNAC_DataBase_BackUp_2026_05_27_00_01_48_fnac76.gz

 

Emirjon
mano972Author
Visitor II
May 27, 2026

Thank you for your feedback. Just so we’re on the same page, do I need to restore both the configuration and the database?

Best regards.

ebilcari
Staff
Staff
May 27, 2026

Only a database restore is required to revert this change. This appears to be a common mistake, similar cases are reported frequently :)

Emirjon
mano972Author
Visitor II
May 27, 2026

I have this error message, thank

 

Restoring FortiNAC_DataBase_BackUp_2026_05_18_00_01_05_svp-fortinac2.gz...
Error restoring database: Failed to shutdown server