Plesk Mass Password Reset script

Follow

Comments

4 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

    0
    Comment actions Permalink
  • 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.

    0
    Comment actions Permalink
  • Avatar
    Pdiotis

    Hi,

    how could we run and FTP password reset for specific domains?

    0
    Comment actions Permalink
  • Avatar
    Daria Gavrilova

    Hello @Pdiotis,

    Thank you for your question.

    This script does not support domain selection and only intended to reset passwords globally.
    To change the password for FTP user, please check the following article: How to change FTP user password in Plesk?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request