• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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