Working with a FortiGate account
The settings in the instructions apply to FortiOS 6.x and 7.x versions. If you have a different version of FortiOS, you can find documentation for that version in the FortiGate control panel in the upper right corner or on the official FortiGate website.
Create an administrator account
Graphical interface
CLI
- Connect to the firewall.
- In the FortiGate control panel, go to System → Administrators.
- Click Create new → System administrator.
- Specify the login and password with which the administrator will connect to the firewall.
- Select a profile. A profile is an administrator role with access to firewall settings. By default, the
super_adminprofile with full access to settings is available. You can create a new profile under System → Admin Profiles. - Click OK.
Change the password for the administrator account
Graphical interface
CLI
- Connect to the firewall.
- In the FortiGate control panel, go to System → Administrators.
- Select the administrator login from the list.
- Switch to edit mode.
- Select Change password.
- Enter your old password.
- Enter a new password.
- Repeat the new password.
- Press OK.
Configure account lockout
By default, the account is locked out for 60 seconds after three password attempts.You can change the number of password attempts and the time to wait until the next password attempt.
CLI
-
Configure the number of password attempts and the waiting time:
config system globalset admin-lockout-threshold <admin_lockout_threshold>set admin-lockout-duration <admin_lockout_duration>endSpecify:
<admin_lockout_threshold>- number of attempts to enter the password. The default setting is three attempts. You can specify a value from 1 to 10;<admin_lockout_duration>- waiting time in seconds, after which you can enter the password again. The default setting is 60 seconds. You can specify a value from 1 to 4294967295.
Rename the account
Graphical interface
You cannot rename the account under which you connected to the firewall.
- Connect to the firewall under an account with the profile
super_adminor another profile with access to the settings in the System. - In the FortiGate control panel, go to System → Administrators.
- Select the administrator login from the list.
- Switch to edit mode.
- Change the administrator login.
- Press OK.