Does anyone know of a method or script for changing operator passwords without logging in interactively? Our client would like to provision each PRPC instance with unique operator passwords, and would prefer to automate the process.
***Updated by moderator: Lochan to add Categories***
***Updated by moderator: Lochan to close post*** This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
updating/changing the OperatorID passwords may be possible via activity with a report definition.
Please find below steps & share your thoughts...
Create a Report Definition on class 'Data-Admin-Operator-ID' to retrieve OperatorID list
Create an activity
call report definition using pxRetrieveReportData
loop through pxResults and set property 'pyPwdCurrent' to OperatorID identifier to ensure the passwords are unique.
sample Set .pyPwdCurrent = .pyUserIdentifier
Issue Obj-Save & commit commands.
ensure only the application specific Operator ID passwords only get updated. [having a when rule either in the loop while setting the value for pyPwdCurrent or at the report definition itself filter the OperatorID list]
run the activity for one temporary operator ID & perform sanity/functional test before calling on all the operator ID's
I suggest using PRCustom authentication where Operator is externally authenticated - LDAP or Siteminder. You have much better control over authentication behavior by customizing these external auth resources.