Skip to main content

Managing a FortiGate account

The settings in the instructions are relevant for FortiOS versions 6.x and 7.x. If you have a different FortiOS version, you can find documentation for it in the top right corner of the FortiGate control panel or on the official FortiGate website.

Create an administrator account

  1. Connect to the firewall.
  2. In the FortiGate control panel, go to System → Administrators.
  3. Click Create new → System administrator.
  4. Specify the username and password that the administrator will use to connect to the firewall.
  5. Select a profile. A profile is an administrator role with access to the firewall settings. By default, the super_admin profile with full access to settings is available. You can create a new profile in System → Admin Profiles.
  6. Click OK.

Change administrator account password

  1. Connect to the firewall.
  2. In the FortiGate control panel, go to System → Administrators.
  3. Select the administrator username from the list.
  4. Switch to edit mode.
  5. Select Change password.
  6. Enter the old password.
  7. Enter the new password.
  8. Repeat the new password.
  9. Click OK.

Configure account lockout

By default, the account is locked for 60 seconds after three password entry attempts. You can change the number of password entry attempts and the timeout before the next attempt.

  1. Connect to the firewall.

  2. Configure the number of password retry attempts and the timeout duration:

    config system global
    set admin-lockout-threshold <admin_lockout_threshold>
    set admin-lockout-duration <admin_lockout_duration>
    end

    Specify:

    • <admin_lockout_threshold> — number of password attempts. Three attempts are set by default. You can specify a value from 1 to 10;
    • <admin_lockout_duration> — wait time in seconds after which you can re-enter the password. 60 seconds is set by default. You can specify a value from 1 to 4294967295.

Rename an account

You cannot rename the account you are currently using to connect to the firewall.

  1. Connect to the firewall under an account with the super_admin profile or another profile with access to settings in System.
  2. In the FortiGate control panel, go to System → Administrators.
  3. Select the administrator username from the list.
  4. Switch to edit mode.
  5. Change the administrator username.
  6. Click OK.