How do I reset my cPanel password in Lightsail?

Lesedauer: 3 Minute
0

I want to reset the password for cPanel in my Amazon Lightsail account.

Resolution

To reset the password for a cPanel website hosted in Lightsail, use cPanel, WebHost Manager (WHM), or the command line.

Reset your password in cPanel

To reset your password from the cPanel log in page, complete the following steps:

  1. Open the cPanel login page at https://example-ip:2083.
    Note: Replace example-ip with your server's IP address.
  2. Choose Reset Password.
  3. Enter your user name, and then choose Reset Password.
  4. Enter your email address, and then choose Send Security Code.
  5. In your email inbox, look for a message that contains a security code.
  6. On the cPanel login window, in the Security Code text box enter the code that you received, and then choose Submit.
  7. Enter the new password in both the New Password and the Confirm Your Password fields.
  8. Choose Set Password.

To reset your password from the cPanel dashboard, complete the following steps:

  1. Log in to cPanel at https://example-ip:2083 with your username and password.
    Note: Replace example-ip with your server's IP address.
  2. Under Preferences, choose Password & Security.
  3. Enter the new password in both the New Password and the Confirm Your Password fields.
  4. Choose Change your password now.

Reset a password in WHM

To reset the password from WHM's Account Information section complete the following steps:

  1. Log in to WHM at https://example-ip:2087 with your username and password.
    Note: Replace example-ip with your server's IP address.
  2. Select Account Information, and then choose List Accounts.
  3. From the list of accounts, choose the cPanel account that requires a password reset.
  4. Choose the plus sign [+].
  5. Under Change Password, enter your new password, and then choose Change.

To reset the password from WHM's Account Functions menu, complete the following steps:

  1. Log in to WHM at https://example-ip:2087.
    Note: Replace example-ip with your server's IP address.
  2. Select Account Functions and then choose Password Modification.
  3. From the list of accounts, choose the cPanel account that requires a password reset.
  4. Enter your new password in both the New Password and the Confirm Password fields, and then choose Change Password.

Reset a password in the command line

Important: The passwd command updates the password for every linked service, such as MySQL, File Transfer Protocol (FTP), Mail, PostgreSQL, or System.

To use the passwd command in the command line to reset the password, complete the following steps:

  1. Use SSH to connect to Lightsail.

  2. Use passwd to change the password:
    Note: Replace example-user with the name of the user that requires a new password.

    passwd example-user
  3. Enter your new password after New UNIX password and Retype new UNIX password.

Verify a new password

To verify that your cPanel password is reset, open the cPanel log in page at https://example-ip:2083 and replace example-ip with your server's IP address. Then, enter your user name and the new password. If you can log in, then the password is reset.

AWS OFFICIAL
AWS OFFICIALAktualisiert vor 4 Monaten