FortiGate password rotation failed. Config command failed RC: 8100

FortiGate password rotation failed. Config command failed RC: 8100

135
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:07 PM


Symptom


FortiGate password rotation failed. Config command failed RC: 8100

Sample logs below:
########################################
26/06/2024 02:38:13.786 | Info -> bf :: c -> *****************************************************************
26/06/2024 02:38:13.786 | Info -> bf :: c ->     Config
26/06/2024 02:38:13.786 | Info -> bf :: c -> *****************************************************************
26/06/2024 02:38:13.786 | Info -> bj :: a -> Sending: config system admin\r
26/06/2024 02:38:13.801 | Info -> bx :: ak -> Trying to match the following prompts:
26/06/2024 02:38:13.801 | Info -> bx :: ak -> 1.AdminPrompt: '.*\(admin\).* ?$'
26/06/2024 02:38:13.801 | Info -> bx :: ak -> 2.StandardPrompt: '\s.*(\$|\#|\>|\%|\]) ?$'
26/06/2024 02:38:13.801 | Info -> bj :: b -> Received: 
Unknown action 0

LAB_FGT $ 
26/06/2024 02:38:13.801 | Info -> bx :: b -> 'StandardPrompt' is matched
26/06/2024 02:38:13.801 | Info -> bx :: b -> Expect: set expect_out(0,string) "
Unknown action 0

LAB_FGT $ "
26/06/2024 02:38:13.801 | Info -> bx :: b -> Expect: set expect_out(1,string) "$"
26/06/2024 02:38:13.817 | Info -> bj :: a -> Finish plugin execution
26/06/2024 02:38:13.817 | Info -> bj :: a -> Result: FAILURE
26/06/2024 02:38:13.817 | Info -> bj :: a -> Config command failed RC: 8100
26/06/2024 02:38:13.817 | Info -> bf :: b ->     |---------------------------------------|
26/06/2024 02:38:13.817 | Info -> bf :: b ->         Plugin Execution END
26/06/2024 02:38:13.817 | Info -> bf :: b ->     |---------------------------------------|

########################################
 


Environment


12.6;13.0;14.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) CPM - 14.0
 


Cause


The issue was caused by the insufficient permission on the target account to change the password.

Read-only profile
==========
image.png
image.png==========

Read-Write profile
==========
image.png
image.png

 


Resolution


Check with the customer to assign appropriate permission to the target account for the password rotation process.
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001R7sCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail