Changing the admin account password in Fortigate Firewall using CLI :-
- The default administrator account, named admin, initially has no password.
- This administrator account always has full permission to view and change all FortiWeb configuration options, including viewing and changing all other administrator accounts.
- Its name and permissions cannot be changed.
- Always configure the admin account with a password to prevent others from logging in to the FortiWeb and changing its configuration.
Lets see the configuration.
FortiGate # config system admin
FortiGate (admin) # edit admin
FortiGate (admin) # set password Pass@123
FortiGate (admin) # end