My Oracle Support Banner

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 JUNE 12, 2023

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?




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.