PSM service restart initiate Cleanup job for shadow user profile deletion

PSM service restart initiate Cleanup job for shadow user profile deletion

143
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM


Symptom


Once the PSM service restart, the PSM Shadow profile will be deleted if the vault user doesn't exist regardless of the remaining period of the parameter "ClearUserProfilesInterval".

Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Privileged Session Management (PSM) PAS, PSM

Cause


Once the PSM service restart, the PSM Shadow profile will be deleted if the vault user doesn't exist regardless of the remaining period of the parameter "ClearUserProfilesInterval". The following can be seen within the PSM logs:

[13/10/2022 | 10:48:53.094666] | {pid= 316} | {tid= 9032} | class CPSMController * | PSM\(691) | :: | PSMSR967I Creating periodic cleaner job
[13/10/2022 | 10:48:56.172050] | {pid= 316} | {tid= 1756} | class CPSMPeriodicWorkJob * | PSM\(175) | :: | PSMSR588I Shadow user PSM-2A00000000000000 is no longer in use, and will be deleted
[13/10/2022 | 10:48:56.172098] | {pid= 316} | {tid= 1756} | STATIC | PSM\(774) | :: | PSMSC017I Attempting to delete profile for local user [PSM-2A00000000000000]
[13/10/2022 | 10:48:56.172128] | {pid= 316} | {tid= 1756} | STATIC | PSM\(731) | :: | PSMSC016I Attempting to find SID for local user [PSM-2A00000000000000] [PSMApp_PSM2])
[13/10/2022 | 10:48:56.593673] | {pid= 316} | {tid= 1756} | STATIC | PSM\(781) | :: | PSMSC019I Successfully deleted profile for local user [PSM-2A00000000000000]



Resolution


This is expected behavior as the PSM service would start a cycle of the cleanup process with the parameter of "ClearUserProfilesInterval" up on PSM service start.
Once the PSM service restart, the cleanup job is created and check if there is a shadow profile no longer in use with the vault user deleted.


Actions
  • Print
  • Copy Link

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