I'm using ansible to automate Pega platform installation, but there is one step missing: i need to change Admin password from command line. Is there a way to do it?
I saw on another thread this information:
"If you do not have that option then only way would be take a R-A-P of Administrator@pega.com Operator ID record from another instance and import it using command line utility. This will override the existing operator record and you should be able to log into the system."
How can i do this? Can anyone help me?
***Edited by Moderator: Pallavi to update platform capability tags***
***Edited by Moderator Marissa to update SR Details***
Not that I'm aware of, that would be a security hole we wouldn't want to happen. By the way it is always expected that someone log in post-upgrade or install to verify it works before making changes like that.
The above suggestion which you stated to import the RAP from other instance is suggested when you forgot the password of your Administrator password in the current environment and you would like to reset its password then exporting the RAP with this Operator record from other environment and importing it into your current environment will override the password of the operator from other environment. The RAP import can be performed from the command line utilities like prpcUtils/prpcServiceUtils, but still i am not sure why you would change the password of Administrator@pega.com during Platform installation process.
Before i had documented the export of rap with the help of prpcserviceutils utility and sharing it with you for your reference, if you want to explicitly use prpcUtils utility to perform the export then please share me your configuration files for analyzing it.
The content which you include in the Rule-Admin-Product rule will be imported into the target system, in the above explanation we are adding only Data-Admin-Operator-ID record of the Administrator@pega.com record. So in the target system it will override this record information, hence you can access this operator with the password you have in the source system. Hope it is clear to you.
To create the Product rule you should have the unlocked ruleset version where you can create a new rule. So you should login with your application admin operator then follow the steps provided in the document to create product rule with email@example.com operator.