All Products
Search
Document Center

Simple Application Server:Set or reset server passwords

Last Updated:May 20, 2024

You can set a logon password for a simple application server after you create the server. You can reset the logon password for a simple application server if you forget the password. This topic describes how to set or reset logon passwords for simple application servers.

Prerequisites

  • If you want to update the password of a server offline, the server must be in the Running or Stopped state.

  • If you want to update the password of a server online, the server and Command Assistant must be in the Running state. In addition, the version of Command Assistant must meet one of the following requirements:

    • For Linux servers, the version of Command Assistant must be 2.2.3.398 or later.

    • For Windows servers, the version of Command Assistant must be 2.1.3.398 or later.

Usage notes

The password setting or resetting operation by using a server administrator account is supported only in the Simple Application Server console.

  • For Linux servers, the administrator account is root.

  • For Windows servers, the administrator account is administrator.

Procedure

  1. Log on to the Simple Application Server console.

  2. In the left-side navigation pane, click Servers.

  3. In the card of the desired simple application server, click Reset Password.

  4. In the Reset Password dialog box, configure parameters based on your business requirements. The following table describes the parameters.

    Parameter

    Description

    Server Administrator Account

    Select an administrator account whose password you want to update. You can update the password of only one of the following administrator accounts:

    • Linux: root.

    • Windows: Windows.

    Server Password

    Enter a password. The password must be 8 to 30 characters in length and contain at least three of the following character types:

    • Lowercase letters (a to z)

    • Uppercase letters (A to Z)

    • Digits (0 to 9)

    • Special characters including ( ) ` ~ ! @ # $ % ^ & * - _ + = | { } [ ] : ; ' < > , . ? /

    Important
    • For Windows servers, logon passwords cannot start with a forward slash (/).

    • Passwords must be sufficiently complex and regularly altered to minimize the risk of being compromised through brute-force methods.

    Enter Password Again

    Enter the new password again to confirm the password.

    Password Change Methods

    Select a method to change the password. Valid values:

    • Change Online: After you update a password, the new password immediately takes effect without server restarts.

    • Change Offline: After you update a password, the new password takes effect after you restart the server.

  5. Click OK.

  6. In the Reset Password dialog box, perform one of the following operations based on your password change method:

    • Change Online: If the Password reset successfully. message appears, the password is updated.

    • Change Offline: Determine whether to restart the server based on your business requirements.

      • Restart the server immediately: Click Restart Now. The password takes effect after the server is restarted.

        Warning

        The restart operation stops the server for a short period of time and may interrupt services that are running on the server. We recommend that you restart the server during off-peak hours.

      • Restart the server later: Click Do Not Restart. You can restart the server during off-peak hours to make the new password take effect.

FAQ

Q1: Why am I still unable to log on to my server after resetting the password?

A1: If the operating system of your server disables password-based logon, you cannot log on to the server even though you use the correct username and password. For information about how to enable password-based logon, see Re-enable password-based logon.

Q2: Why am I still unable to log on to my server after changing the password online?

A2: When a third-party antivirus software is installed on the server, the antivirus software may inhibit the password change operation, causing the operation to fail. In this case, we recommend that you change the password offline. Alternatively, you can call the UpdateInstanceAttribute API operation to reset the password. Then, you can restart the server and use the new password to log on to it.

Q3: Why is the server logon password automatically changed?

A3: Your server may have malicious scripts or mining software, which causes automatic password changes. You can go to the Security Center console to check and handle this issue.

For more information, see FAQ about remote connection.