Troubleshooting Tip: How to fix CLI output error when executing debugging commands from a user which is not part of the super_admin profile
| Description | This article describes how to check and fix the CLI output when the error 'object set operator error, -672 discard the setting' is displayed. |
| Scope | FortiGate v7.x. |
| Solution | In specific conditions, enabling 'cli-diagnose' from the CLI will return an error with a -672 discard code. Conditions that will trigger this situation:
config system accprofile set secfabgrp read-write set ftviewgrp read-write set authgrp read-write set sysgrp read-write set netgrp read-write next end
config system admin edit "test" set accprofile "test_admin_profile" set vdom "root" set password ENC SH22jwJ46fFCMCCLIcRHJhm17XuQz4L4SxADKdMiUW next end
FGT (test_admin_profile) $ set cli-diagnose enable FGT (test_admin_profile) $ next FGT (accprofile) $
To fix this issue, log in with an admin account that is a member of the super_admin profile.
Note: If it is not possible to access the FortiGate with the super_admin profile then the admin account with the super_admin profile needs to be recovered following the link: Technical Tip: How to recover admin account with super_admin profile. Another user with higher privileges is required to make this change.
Related Documents: |
