Created on
11-12-2015
08:56 AM
Edited on
05-14-2025
01:28 AM
By
Jean-Philippe_P
Description
Scope
Solution
The following FortiGate CLI commands will reset the password of the FortiAP to the default value or to a new password:
FGT-HO # config wireless-controller wtp
FGT-HO (wtp) edit FPXXXFTFXXXXXXXX
FGT-HO (FPXXXFTFXXXXXXXX) set override-login-passwd-change enable
FGT-HO (FPXXXFTFXXXXXXXX) set login-passwd-change ?
yes <--Change the managed WTP, FortiAP, or AP's administrator password. Use the login-password option to set the password.
default <-- Keep the managed WTP, FortiAP, or AP's administrator password set to the factory default.
no Do not change the managed WTP, FortiAP or AP's administrator password
FGT-HO (FPXXXFTFXXXXXXXX) set login-passwd-change default ***
Or:
FGT-HO (FPXXXFTFXXXXXXXX) set login-passwd-change yes
FGT-HO (FPXXXFTFXXXXXXXX) set login-passwd <8 character password>
FGT-HO (FPXXXFTFXXXXXXXX) next
FGT-HO (wtp) end
Before v7.0.2, the option ‘set login-passwd-change=default’ will result in a blank password for FortiAP (not recommended). After v7.0.2, the command ‘set login-passwd-change=default’ will request a new password every time logged into the FortiAP console.
Note:
The management password for a group of FortiAPs sharing the same WTP profile can also be changed or reset via the GUI. To do this, navigate to WiFi & Switch Controller -> FortiAP Profiles, select the FortiAP Profile associated with the FortiAPs, edit the profile through the GUI, and select 'OK' at the bottom to save the changes.
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.