Skip to main content
tonylin1
Staff
Staff
September 1, 2022

Technical Tip: How to set the admin password to empty

  • September 1, 2022
  • 0 replies
  • 2481 views
Description This article describes how to set the administrator account password to empty.
Scope FortiGate.
Solution
  1. Set admin password by default:

 

config system admin

    edit "admin"

        set accprofile "super_admin"

        set vdom "root"

        set password ENC SH2CBKZWErh1aIVtjkiFqgUE7jz89aIEAIEq**bleep**DDoswa8dsBN03ce/J2RQ6BA=

    next

end

 

  1. Use the below CLI to set the admin password to empty:

 

FG1500D_14 # config system admin

FG1500D_14 (admin) # edit admin 

FG1500D_14 (admin) # unset password <old password>   *** where <old password> is the current password of the account "admin"

FG1500D_14 (admin) # end

 

  1. Result:

 

FG1500D_14 # show system admin admin

config system admin

    edit "admin"

        set accprofile "super_admin"

        set vdom "root"

    next

end