Plesk Mass Password Reset script




  • 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` '*****' --users --mailaccounts


    is the above cmd Correct? any help 

    Thank you


  • 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 on Windows:

    > plesk bin mail -l | findstr

    On Linux:

    # plesk bin mail -l | grep

    And update passwords one by one using:

    plesk bin mail -u -passwd mypass

    Where 'mypass' is a new password.

Please sign in to leave a comment.

Have more questions? Submit a request