I'm trying to execute a script I have using the standard password reset listener for Linux and for some reason the arguments being passed in appear to be surrounded by single tick ( ' ) marks. It doesn't appear to be sending it to the cmd line as
sh <scriptname> '<resource name>' '<dns name>' '<account name>' '<old password>' '<new password>'
but instead it seems to be passing the ticks within quotes or something because the script is thinking the ticks are part of the actual arg value.
When I call the script manually and pass in:
sh myscript.bsh 'myRes' 'mydns' 'myacct' 'myoldpw' 'mynewpw'
and print out the args it shows: myRes mydns myacct myoldpw mynewps as the values.
however when I execute the same script via password reset listener the printed args are:
'myRes' 'mydns' 'myacct' 'myoldpw' 'mynewps'
To me this would indicate that PMP is actually executing the following cmd line for some reason:
sh <scriptname> "'<resource name>'" "'<dns name>'" "'<account name>'" "'<old password>'" "'<new password>'"
Has anyone else had issues with this?