FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sselvam
Staff
Staff
Article Id 189966

Description


This article describes how to change the firewall 'admin' account password.

 

Scope

 

FortiGate.

Solution


To change the admin administrator password from the GUI.

  1. Go to System -> Admin -> Administrators.



 
  1. In the row corresponding to the admin administrator account, mark its check box.
  2. Select 'Change Password'.
  3. In the old Password field, do not enter anything. (In its default state, there is no password for the admin account).
 
 

 
  1. In the New Password field, enter a password with sufficient complexity and number of characters to deter brute force and other attacks.
  2. In the Confirm Password field, enter the new password again to confirm its spelling.
  3. Select 'OK'.
  4. Select 'Logout'.

 

The FortiGate appliance logs the user out.  To continue using the GUI, log in again.

The new password takes effect the next time that the administrator account logs in.

To change the admin administrator password via the CLI
Enter the following command:

config system admin
    edit admin
        set password <new-password_str> <old-password>
    end
exit
 
Where <new-password_str> is the new password for the administrator account named admin, and <old-password) is the password the current password that will be changed

The FortiGate appliance logs the user out. 
To continue working in the CLI, log in again using the new password. The new password will take effect only for newly initiated sessions in the CLI or GUI.

Note:
Starting from v7.2.x and above, it is now mandatory to provide the old password to update the admin's password.

Related Article