tencent cloud

Feedback

Password Reset Operation Instruction

Last updated: 2024-02-21 15:05:15

    Overview

    Tencent Cloud Lighthouse offers the instance login password reset feature. This feature is mainly applicable to the following scenario:
    A remote login to the instance is initiated from a local computer for the first time.
    You need to reset the user (root) password before the first remote login or SSH key login of a Linux instance.
    Before the initial login to the Windows instance, if you have set the login method to automatically generating a password during the instance creation, you are advised to perform this operation to reset the password of the administrator account (such as Administrator), to replace it with a custom login password.
    Reset the password if you have forgotten your instance login password.

    Notes

    The Tencent Cloud Lighthouse Console offers two approaches to reset passwords, including Online Reset and Offline Reset.
    If you choose online reset, the server will shut down during the password reset of a running instance. To avoid any data losses, plan for the operation time in advance. It is recommended that you perform the operation during business off-peak periods, to minimize impact.
    If you choose to reset the password online, please ensure that the status and Tencent Cloud Automation Tools status of your selected instance are both running.
    Instances created using the Ubuntu image, by default, disallow the root user from logging in to the instance through password authentication. To enable this method, see How do I log in to an instance as the root user on Ubuntu?
    For enhancing the security of your instance, it is recommended that you log in to the Linux instance using the SSH key pair method. For further information, see Managing Keys.

    Directions

    1. After you log in to the Tencent Cloud Lighthouse Console, find the corresponding instance in the server list. You can open the window to reset the instance password as follows:
    Instance Card
    Instance List
    Instance Details Page
    Resetting the Single instance password: In the instance card, choose More > Reset Password.
    
    Resetting the Single instance password: Choose More > Reset Password on the right side of the instance for which the password needs to be reset.
    Resetting Multiple instance passwords: In the instance list, select the instances for which you want to reset the password, and click Reset Password above.
    
    Enter the details page of the instance, click Reset Password in the upper right corner of the page.
    
    
    2. In the pop-up window, based on the instance status and Tencent Cloud Automation Tools status, you can choose to reset the password online or offline. More details as follows:
    Note:
    The online password reset process uses Tencent Cloud Automation Tools to execute the password reset command within the instance. The password reset does not require shutdown, without disrupting the business.
    Online Password Reset
    Offline Password Reset
    Note:
    Prerequisites: Ensure the Instance Status and the Tencent Cloud Automation Tools Status of your selected instance are both Running. Otherwise, the password cannot be reset online.
    1. Confirm the Username for which the password need to be reset.
    Note:
    The default username for the Ubuntu system is ubuntu.
    2. Enter a New Password and Confirm Password that meet the complexity requirements.
    Note:
    When both Linux and Windows machines are selected simultaneously, password complexity requirements must be compliant with the requirements of the Windows system.
    3. Click OK to complete the reset.
    
    4. After the password reset is complete, you may proceed to the details page of the target instance to check the password reset result, choose Run**** Command and click the View execution details on the right side of the command line.
    
    Note:
    For Linux instances, if in the sshd_config configuration file, the PasswordAuthentication parameter is set to No, during an online password reset, this parameter will be changed to Yes. In the mean time, the sshd process within the instance will be restarted, possibly disrupting connected SSH sessions.
    For Windows instances, if the user you have chosen to reset the password for is locked or disabled, this user will also be automatically enabled during online password reset.
    If your online password reset fails or does not take effect, see Troubleshoot the Issue That the Password Fails To Be Reset Online or Is Invalid to investigate the cause.
    Note:
    If you choose offline password reset, note that servers will be shut down during the reset process for running instances. It is recommended that you perform the operation during business off-peak periods, to minimize impact of service shutdown.
    1. Confirm the Username for which the password need to be reset.
    Note:
    The default username for the Ubuntu system is ubuntu.
    2. Enter a New Password and Confirm Password that meet the complexity requirements.
    Note:
    When both Linux and Windows machines are selected simultaneously, password complexity requirements must be compliant with the requirements of the Windows system.
    3. Read and check the Offline Reset Notice, and click OK to complete the reset.
    
    
    
    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