tencent cloud


Resetting Password

Last updated: 2022-09-26 11:28:02


    You can reset the passwords Lighthouse instances in the following scenarios:

    • Log in to an instance remotely on a local computer for the first time.
    • Reset the user (root) password before the first remote login or SSH key login of a Linux instance.
    • Reset the password of admin account (e.g., Administrator) with a custom password. It's recommended if you password.
    • Reset the password if you have forgotten your instance login password.


    • You can only reset the login passwords when the instance is shut down.
    • Running instances will be shut down when you reset their login passwords. To avoid service interruptions and data losses, plan ahead and reset passwords during off-peak hours.
    • For instances created with Ubuntu images, password login is disabled for the root account by default. To enable it, see How do I log in to an instance as the root user on Ubuntu?.
    • To improve the instance security, we recommend you use an SSH key pair to log in to Linux instances. For more information, see Managing SSH Keys.


    1. Log in to the Lighthouse console and open the window to reset the instance password in the following way:
    • In the instance card, select More > Reset password in the top-right corner.
    • Select the instance card to enter the instance details page, and click Reset password in the top-right corner.
    1. Reset the password according to the instance status.

      For instances in Running status, do the following:

      1. Confirm the username, enter the New password, re-enter the new password in the Confirm password field, and click Next.

        The Username defaults to System default, and the default system username is used, such as Administrator for Windows, ubuntu for Ubuntu, and root for other Linux distributions. You can also select Specified user name and enter the username.

      2. Select Agree to a forced shutdown and click OK.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support