• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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