| Description |
This article describes how to update the hash function for administrator accounts after upgrading FortiOS. |
| Scope | FortiGate v7.2, v7.4, v7.6. |
| Solution |
Starting from FortiOS 7.2.11, 7.4.11, and 7.6.1, a new hash function, PBKDF2, is introduced in the 'config system admin' settings.
Example:
config system admin edit "admin" <----- default admin set accprofile "super_admin" set vdom "root" set password ENC SH24F2uMH -----snip----- <----- SHA256 next edit "test" set accprofile "super_admin" set vdom "root" set password ENC SH2aZtOA3 -----snip----- <----- SHA256 next edit "test10" set accprofile "prof_admin" set vdom "root" set password ENC SH2r7JR7v -----snip----- <----- SHA256 next end
config system admin edit "admin" <----- Default admin. set accprofile "super_admin" set vdom "root" set password ENC PB2XCp/xu -----snip----- <----- PBKDF2 next edit "test" set accprofile "super_admin" set vdom "root" set password ENC SH2aZtOA -----snip----- <----- SHA256 next edit "test10" set accprofile "prof_admin" set vdom "root" set password ENC SH2r7JR7v -----snip----- <----- SHA256 next end Updating the hash function by changing the password. FortiGate# config system admin FortiGate (admin) # edit test FortiGate (test) # set password fortinet <----- Changing the password of a non-default admin. FortiGate (test) # show config system admin edit "test" set accprofile "super_admin" set vdom "root" set password ENC PB2N/Htll -----snip----- <----- PBKDF2 next end Related articles: New features or enhancements | FortiGate / FortiOS 7.2.11 | Fortinet Document Library |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.