CPM - Su file path is mandatory. Please add proper path of su to platform parameters

CPM - Su file path is mandatory. Please add proper path of su to platform parameters

676
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:54 PM


Symptom


 

After upgrading CPM to versions 14.9.1.5 or 14.9.1.12, when utilizing the Unix SSH plugin (or other similar plugins), the following error is shown in the UI:

 

Execution error. EXT01::Su file path is mandatory. Please add proper path of su to platform parameters. Error code:8060

 



Environment


Privilege Cloud Central Policy Manager (CPM)

 

CPM v14.9.1.5 or 14.9.1.12

Unix SSH plugin

 



Cause


 

To address Security Bulletin CA26-16, pCloud customers are advised to upgrade CPM to patch version 14.9.1.5 (since replaced with 14.9.1.12).  While this addressed the issue brought to light in the bulletin, it introduced a new issue: the UnixProcess.ini and UnixPrompts.ini files are overwritten with the latest iteration of each file found in the Marketplace.

 

Note: This issue ONLY affects the files when their names have not been altered.  It does NOT affect process and prompts files whose names differ from the out-of-box names.

 

The file versions found in the Marketplace contain multiple alterations and additions related to the su and sudo Unix commands.  In particular, the UnixProcess.ini file now includes two new state definitions -- SuFullPath=<SuFullPath> and SudoFullPath=<SudoFullPath> -- which require the corresponding parameters to be populated on the relevant platform.  However, the CPM upgrade does NOT alter the platform, thus these parameters do not exist.  Since the state definitions are part of the initialization process, the plugin will fail with the following in the debug log:

 

12/05/2026 10:18:50.968 | Info -> bh :: c -> SetSuParam
12/05/2026 10:18:50.968 | Info -> bh :: c -> *****************************************************************
12/05/2026 10:18:50.968 | Info -> bz :: c -> START
12/05/2026 10:18:50.968 | Info -> bz :: b -> Analyzing next state candidate IfSuFullPathIsEmpty: '(expression)[string equal -nocase "<SuFullPath>" ""]'
12/05/2026 10:18:50.968 | Warning -> cy :: a -> CPM property 'sufullpath' does not exist.
12/05/2026 10:18:50.968 | Info -> bz :: b -> Expression 'IfSuFullPathIsEmpty' is TRUE, continuing to next state FailSuNotExists
12/05/2026 10:18:50.968 | Info -> bz :: c -> END
12/05/2026 10:18:50.975 | Info -> bl :: a -> Finish plugin execution
12/05/2026 10:18:50.975 | Info -> bl :: a -> Result: FAILURE
12/05/2026 10:18:50.975 | Info -> bl :: a -> Su file path is mandatory. Please add proper path of su to platform parameters RC: 8060

 



Resolution


 

To resolve this issue:

 

  1. Locate and edit the relevant platform in PVWA
  2. Expand 'Automatic Password Management', then expand 'Additional Policy Settings'.
    Note: If you don't see 'Additional Policy Settings', right-click on 'Automatic Password Management' and select 'Add Additional Policy Settings'.
  3. Right-click on 'Additional Policy Settings' and select 'Add Parameters'.
  4. Right-click on 'Parameters' and select 'Add Parameter'.
  5. Set the parameter Name to: SuFullPath
  6. Set the parameter Value to: /bin/su
  7. Right-click on 'Parameters' again and select 'Add Parameter'.
  8. Set the parameter Name to: SudoFullPath
  9. Set the parameter Value to: /bin/sudo
  10. Click 'OK' to save the changes.


Finally, test the plugin by running any CPM action against any account assigned to the platform that was updated.

 


 

If these parameters exist and the corresponding values are set on the platform in question, but the plugin does NOT find them within the configured path, the plugin will generate the same error shown above in the UI.  However, the debug log will instead show:

 

11/06/2026 10:21:01.968 | Info -> bl :: a -> Sending: test -f '/bin/su'; echo ret$?\r
11/06/2026 10:21:01.998 | Info -> bz :: ak -> Trying to match the following prompts:
11/06/2026 10:21:01.998 | Info -> bz :: ak -> 1.IfSuSudoCommandNotExists: 'ret1'
11/06/2026 10:21:01.998 | Info -> bz :: ak -> 2.IfSuSudoCommandExists: 'ret0'
11/06/2026 10:21:02.024 | Info -> bl :: b -> Received: 
ret1
[localuser@LAB-LINUXTEST ~]$ 
11/06/2026 10:21:02.024 | Info -> bz :: b -> 'IfSuSudoCommandNotExists' is matched
11/06/2026 10:21:02.024 | Info -> bz :: b -> Expect: set expect_out(0,string) "ret1"
11/06/2026 10:21:02.024 | Info -> bl :: a -> Finish plugin execution
11/06/2026 10:21:02.024 | Info -> bl :: a -> Result: FAILURE
11/06/2026 10:21:02.030 | Info -> bl :: a -> Su file path is mandatory. Please add proper path of su to platform parameters RC: 8060

 

To resolve this issue, manually connect to the target device and execute the appropriate commands to list the full path to where the su and sudo commands can be found.  For example:

 

[localuser@LAB-LINUXTEST ~]$ which su
/usr/bin/su

[localuser@LAB-LINUXTEST ~]$ which sudo
/usr/bin/sudo

 

Follow steps 1-10 above, modifying steps 6 and 9 with the appropriate file paths.  Then, test the plugin by running any CPM action against any account assigned to the platform that was updated.

 



Actions
  • Print
  • Copy Link

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