Fortinet black logo

Administration Guide

Resetting passwords

Resetting passwords

If you forget the password, or want to change an account’s password, the admin administrator can reset the password.

If you forget the password of the admin administrator, you can either:

  • Login via other account with prof_admin permission only by CLI console.
  • Remove the admin password from the backup configuration file by web UI.
To reset an account’s password
  1. Log in as the admin administrator account to web UI.
  2. Go to System > Admin > Administrators.
  3. Click the row to select the account whose password you want to change.
  4. Click Change Password.
  5. In the New Password and Confirm Password fields, type the new password.
  6. Click OK.

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

To reset the admin account’s password

Option 1:

  1. Connect to the CLI console with an account of prof_admin permission.
  2. Run the following commands:

    config system admin

    edit admin

    set password a

    end

Option 2:

  1. Login to the web UI with an account of prof_admin permission.
  2. Go to Maintenance > Backup & Restore > Backup.
  3. Click Backup to download the backup file.
  4. Decompress the .zip file, and open the FortiWeb_system.conf file with the editor. You are recommended to use Notepad++.
  5. Locate the config system admin command lines, remove the set password XXX line, and save the file.
  6. Go to Maintenance > Backup & Restore > Restore.
  7. Click Choose File to upload the updated backup file.
  8. Click Restore.

Resetting passwords

If you forget the password, or want to change an account’s password, the admin administrator can reset the password.

If you forget the password of the admin administrator, you can either:

  • Login via other account with prof_admin permission only by CLI console.
  • Remove the admin password from the backup configuration file by web UI.
To reset an account’s password
  1. Log in as the admin administrator account to web UI.
  2. Go to System > Admin > Administrators.
  3. Click the row to select the account whose password you want to change.
  4. Click Change Password.
  5. In the New Password and Confirm Password fields, type the new password.
  6. Click OK.

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

To reset the admin account’s password

Option 1:

  1. Connect to the CLI console with an account of prof_admin permission.
  2. Run the following commands:

    config system admin

    edit admin

    set password a

    end

Option 2:

  1. Login to the web UI with an account of prof_admin permission.
  2. Go to Maintenance > Backup & Restore > Backup.
  3. Click Backup to download the backup file.
  4. Decompress the .zip file, and open the FortiWeb_system.conf file with the editor. You are recommended to use Notepad++.
  5. Locate the config system admin command lines, remove the set password XXX line, and save the file.
  6. Go to Maintenance > Backup & Restore > Restore.
  7. Click Choose File to upload the updated backup file.
  8. Click Restore.