Description |
This article describes how to change a FortiGate admin password via a CLI script on the Device Database or via a CLI template assigned to FortiGate device. |
Scope | FortiManager v7.x. |
Solution |
Important: The password must be changed in ENC, and not in plaintext.
To get an admin password in ENC format using FortiGate 7.x:
config system admin edit <ADMIN_USER>
For example:
config system admin
config system admin
|
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.