• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Event Handler command line parameters newpassword & oldpassword

MartinMu

New Pleskian
Hi everyone

The Plesk installation in question is 11.5.30 Update #17

I am trying to automate some processes in my system, one of them is the creation of ftp accounts on a remote server.
I use Event Manager to run a script when a user is created ("Customer account created")

command:
Code:
/root/script.sh <new_login_name> <new_password> <old_password>

script.sh
Code:
echo "$1 $2 $3" >> /root/temp.txt

sadly the output looks like this (not obscured for the forum, it is the real output):
Code:
test.user xxxxxx ++++++

obviously "xxxxxx" and "++++++" have nothing in common with the password i have set for the user in Panel.
I would have expected to get the actual password in plaintext or even better the hash of the password.

"xxxxxx" and "++++++" have apsolutely no value to me.

any suggestions on how i could get the password/hash would be very much appreciated!

Regards
Martin
 
Back
Top