To change encrypted passwords on Agent Windchill RV&S
Once you have converted your system to use encrypted passwords, you can also use encryptPassword to change those passwords. Before changing any passwords, the application first confirms the target passwords are encrypted. If the passwords are not encrypted, an error message displays.
You can run the command to change encrypted passwords directly on the Agent Windchill RV&S by specifying command options as follows:
encryptPassword -c|--changePassword passwordName=passwordValue
where
encryptPassword runs the application for password encryption.
-c|--changePassword specifies the option for changing existing encrypted passwords on the Agent Windchill RV&S.
passwordName is the name of the Agent Windchill RV&S password you want to change. For a list of the Agent Windchill RV&S password names, see Encrypting Agent Windchill RV&S Passwords.
passwordValue is the value you assign to the password. Strong passwords have more than eight characters, and include both upper case and lower case.
For example:
encryptPassword -c mksagent.privatekey.password=seSamE
* 
You can also change multiple Agent Windchill RV&S passwords on the Agent Windchill RV&S by using space-separated command options, for example:
encryptPassword -c mksagent.privatekey.password=password1
mksagent.apisession.defaultPassword=password2
The following procedure outlines the mode for the encryptPassword application where no options are specified and you are presented with a text menu to guide you through the change process.
* 
The following procedure changes all currently encrypted passwords. If you do not want to change all your passwords, run the encryptPassword command using the options specified earlier.
1. Stop the Agent Windchill RV&S.
2. From the installdir/bin directory, run the following command:
encryptPassword
or
./encryptPassword
The following options display:
1) Encrypt the existing passwords
2) Change the encrypted passwords
3) Exit
3. To change all existing encrypted passwords, enter 2. You are prompted to enter new passwords for all existing encrypted passwords. Any conversion back to a plain password system must be configured manually. Once the application has completed, a confirmation message displays.
4. Restart the Agent Windchill RV&S.
Est-ce que cela a été utile ?