search cancel

Command wcc_config.sh failed when the password contains a '$' character

book

Article ID: 41416

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Problem:

I can login to the WCC GUI without any problems.  However, when I run the wcc_config.sh batch utility using the same user ID and password, it fails.

Here is an example:

# wcc_config.sh -u ejmcommander -p My$upp01 --displaydb
Logging in as 'ejmcommander' - FAILED
Invalid login credentials were entered.

Resolution:

The user's password contains a '$' character.  

To specify a password that contains a '$' character when using the wcc_config.sh batch utility, add an escape character '\' before each '$' character.  Otherwise, do not specify the -p <password> option, and the user will be prompted to enter a password.  In the latter case, the escape character is not needed.

Using the same example, you run the command as:

wcc_config.sh -u ejmcommander -p My\$upp01 --displaydb

or

wcc_config.sh -u ejmcommander --displaydb

 

 

 

 

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component: