python - password special char ! in wsadmin script -


i have python/jython script automate web sphere console.

i trying create jaasauth using script , password test123!

my script given below

./wsadmin.sh -username wasadmin -password wasadmin -lang jython -c "print admintask.createauthdataentry('[-alias alias -user tstusr -password test123! -description authentication ]');" 

script finishes well. datasource connection test fails password auth incorrect. missing special char !. when manually update passoword in console, works well.

i tried single quotes ' ' , escape characters , no luck.

would great if can share info on this.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -