Plesk Mass Password Reset script

Follow

Comments

8 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

    -1
    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
  • Avatar
    xrofran (Edited )

    Hola:

     

    Necesito un script que resetee las contraseñas de un dominio en concreto y me genere un csv?

     

    Podeis ayudarme?

     

    Saludos

    0
    Comment actions Permalink
  • Avatar
    Francisco Garcia

    Hola xrofran,

    Puedes preguntar por dicha funcionalidad a nuestro equipo de Professional Services aquí, que te lo harán bajo un coste ya que es una tarea administrativa.

    Alternativamente, puedes crearte tu propio script en base a nuestra documentación de linea de comandos:

    Un saludo

    0
    Comment actions Permalink
  • Avatar
    Prodesignerch

    Hello, this script is not working for Plesk Obsidian. Any help? 

    I got below error. 

    [INFO] ==> Installed Plesk version/build: 18.0.25 CentOS 7 1800200325.19
    [2020-04-01 02:09:01][FATAL_ERROR] Unable to find Plesk 8.x, Plesk 9.x, Plesk 10.x or Plesk 12.x. Tool must be launched prior to upgrade to Parallels Panel 12.0.18 for the purpose of getting a report on potential problems with the upgrade.

    0
    Comment actions Permalink
  • Avatar
    Francisco Garcia

    Hi Prodesignerch,

    Then you used the wrong script. Please try with the Onyx one as stated in the article.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request