Plesk Mass Password Reset script

Follow

Comments

2 comments

  • Avatar
    Ramakrishnan R

    How to Reset a specific domain users mail account passwords

    Example : 

    # /usr/local/psa/bin/sw-engine-pleskrun plesk_password_changer.php `cat /etc/psa/.psa.shadow` '*****' --mydomain.com --users --mailaccounts

     

    is the above cmd Correct? any help 

    Thank you

    Ramki

  • Avatar
    Denis Bykov

    @Ramakrishnan R

    This script does not support domain selection and only intended to reset passwords globally.
    Instead, you may use the following command to list all mail accounts which belong to the domain example.com on Windows:

    > plesk bin mail -l | findstr example.com

    On Linux:

    # plesk bin mail -l | grep example.com

    And update passwords one by one using:

    plesk bin mail -u JDoe@example.com -passwd mypass

    Where 'mypass' is a new password.

Please sign in to leave a comment.

Have more questions? Submit a request