Skip to main content

Managing a FortiGate account

Last update:

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

Create an administrator account

  1. Connect to the firewall.
  2. In the FortiGate control panel, go to SystemAdministrators.
  3. Click Create newSystem 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 firewall settings. By default, the super_admin profile is available with full access to settings. You can create a new profile in the SystemAdmin Profiles.
  6. Click OK.

Change administrator account password

  1. Connect to the firewall.
  2. In the FortiGate control panel, go to SystemAdministrators.
  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 failed password attempts. You can change the number of password retry attempts and the timeout duration 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 retry attempts. Three attempts are set by default. You can specify a value from 1 to 10;
    • <admin_lockout_duration> — timeout duration in seconds, after which you can try entering the password again. 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 using an account with the super_admin profile or another profile with access to the System.
  2. In the FortiGate control panel, go to SystemAdministrators.
  3. Select the administrator username from the list.
  4. Switch to edit mode.
  5. Change the administrator username.
  6. Click OK.