How to run the 'emctl exportconfig Oms -sysman_pwd <password> command when the Password Contains a Special Character and can it be scripted to include the password in an encrypted file?

(Doc ID 2305377.1)

Last updated on SEPTEMBER 07, 2017

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


Question 1. How to run the 'emctl exportconfig oms -sysman_pwd <password>' command if the SYSMAN password contains a special character?

The command: 

However, if we you run the command without the password specified and type it in interactively, it works.

Question 2. Can you script this command, but don't want to have the SYSMAN password in clear text in a file.  What alternatives are there for passing in the password, i.e., is there an equivalent to a SQL wallet or an encrypted file much like the EM patching -propertyfile <filename> parameter where the <filename> contains an encrypted value for the password?




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms