Description
This article decsribes how to delete the default 'admin' user on FortiGate.
Scope
Any supported version of FortiGate.
Solution
The following error shows upon attempting to delete the default admin user normally:
config sys admin
delete admin
Cannot delete super admin 'admin'!
command_cli_delete:5242 delete table entry admin unset oper error ret=-37
Command fail. Return code -37
Use the following steps to delete the default admin account on a FortiGate.
To delete the admin account, run the following in the CLI:
delete admin
end
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 2024 Fortinet, Inc. All Rights Reserved.