Technical Tip: Use the CLI to change a FortiGate admin user password on FortiManager
| 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
|