Default administrator password
By default, your FortiGate has an administrator account set up with the username admin
and no password. In order to prevent unauthorized access to the FortiGate, it is highly recommended that you add a password to this account.
Adding a password to the admin administrator is mandatory. You will be prompted to configured it the first time you log in to the FortiGate using that account, after a factory reset, and after a new image installation. |
To change the default password in the GUI:
- Go to System > Administrators.
- Edit the admin account.
- Click Change Password.
- If applicable, enter the current password in the Old Password field.
- Enter a password in the New Password field, then enter it again in the Confirm Password field.
If the password does not conform to the password policy, an error is shown:
If the password conforms to the password policy, no error message is shown:
- Click OK.
To change the default password in the CLI:
config system admin edit admin set password <old password> <old password> New password must conform to the password policy enforced on this device: minimum-length=8; the new password must have at least 1 unique character(s) which don't exist in the old password.; must not be same as last two passwords node_check_object fail! for password * value parse error before '*' Command fail. Return code -49 set password <new password> <old password> next end
It is also recommended that you change the user name of this account; however, since you cannot change the user name of an account that is currently in use, a second administrator account must be created in order to do this. |