Skip to main content
ekrishnan
Staff
Staff
May 26, 2026

Troubleshooting Tip: Password change for admin account via the CLI

  • May 26, 2026
  • 0 replies
  • 94 views

Description

This article describes how to address the error 'Old password checking error' when attempting to change password via CLI.

Scope

FortiPAM.

Solution

The enforcement of the old password is required on the GUI when an attempt is made to reset the admin account password; however, this can be bypassed using the CLI.

5c787010.png


In the CLI:

The screenshot below exhibits an incorrect old password 'forgot123' which has been entered for illustration purposes. In normal cases, this may be due to a forgotten password scenario.

7c15d718.png


The error is seen as 'Old password checking error'.

e8a7986e.png


In the screenshot above, 'fortitest123' is the new password. On the next login, this can be used to login to the FortiPAM.

The password change activity can be seen and confirmed under 'Config & Login Logs' on the admin account that changed the password.

2e9c96f7.png


The new password is sufficient to be entered, and the old password can be bypassed i.e. there is no need to enter the old password.


Note: To perform this change, log in to the FortiPAM with another super admin account.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!