• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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