ZesleCP v3 beta is ready. Explore all the features and pricing here.

Reset User Password

Steps

  1. Connect to SSH Terminal — Open any SSH terminal (ex: PuTTY), connect to your Ubuntu/CentOS server, and login as a root user.

  2. Get a one-time login URL for "root" user — Copy-paste the following command into SSH terminal and hit Enter key.
    sudo zesle login
    This command will generate one-time login URL for you. Simply, copy-paste generated URL into your browser.

  3. Reset password for any user account — Copy-paste the following command into SSH terminal and hit Enter key.
    sudo zesle passwd <USER-NAME-HERE> <NEW-PASSWORD-HERE>
    This command will reset selected user's password.