I tried to use operate run_script for that i need to provide remote host name, login username and password, but PAM is not accepting special character like "!" in password field. How can i provide password having special character.
Most input fields in PAM are designed to take variables. If you want to hardcode a value into an input field, you should enclose it in quotes (double or single, doesn't matter).
I just ran a quick test with Version 4.2 SP02. The Runscript Operator accepted both "Username!" and "Password!"
The process fails as those are not valid credentials, but they were passed correctly:
This may have been changed in the newer release.
What version of PAM are you having this problem with?
What exactly are you entering into the password field?
Are you wrapping your password in quotes?
Yes... in almost all of the operators fields you need to introduce the content you want between ""