• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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