Updated on 2024-05-27 GMT+08:00

Changing an ECS Non-Administrator Password

You can use the Change ECS Non-Administrator Password card to change the password of a non-administrator user.

Prerequisites

UniAgents have been installed for all ECSs, and are in the running state.

Creating a Task for Changing the ECS Non-administrator Password

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Automation (Retiring). The Automation page is displayed.
  3. In the navigation pane, choose Scenarios. On the displayed page, click the Change ECS Non-Administrator Password card, or choose > Create Task in the upper right corner of the card.
  4. Set parameters by referring to Table 1.

    Figure 1 Changing the ECS non-administrator password
    Table 1 Parameters for changing the ECS non-administrator password

    Parameter

    Description

    Task Name

    User-defined task name.

    Enter up to 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. By default, Auto is selected, which means that the system automatically generates a task name.

    Enterprise Project

    Select the enterprise project to which the task belongs.

    Username

    Non-administrator user name.

    • Enter up to 64 characters. Only letters, digits, and underscores (_) are allowed.
    • You can also click and select a parameter from the parameter library.

    New Password

    New password of a non-administrator user.

    • Enter 8 to 26 characters.
    • The password can contain only letters, digits, and special characters, and must contain at least three of the four types.
    • Cannot contain the username or the username spelled backwards.
    • You can also click and select a parameter from the parameter library.

    Confirm Password

    New password of a non-administrator user.

    • The value must be the same as the new password.
    • Enter 8 to 26 characters.
    • The password can contain only letters, digits, and special characters, and must contain at least three of the four types.
    • Cannot contain the username or the username spelled backwards.
    • You can also click and select a parameter from the parameter library.

  5. Select an instance.

    1. Click Add. The instance selection page is displayed. A maximum of 100 instances can be selected for a single task.
    2. For Instance Type, the default value is ECS. For Method, the default value is Specific. For details about the methods, see Table 2.
      Figure 2 Selecting an instance

      Table 2 Selection method description

      Selection Method

      Description

      Specific

      Enter search criteria and select instances from the instance list. By default, instances are searched by name.

      By filter

      • Enter filter attributes and values to search for instances.
      • If there are multiple filter criteria, the search is performed based on the AND relationship.
      • This method also takes effect for instances added later.

      By tag

      • Set tag keys and values, and specify one or more tags to select instances.
      • If there are multiple tags, the search is performed based on the AND relationship.
      • This method also takes effect for instances added later.

      From CMDB

      Enter search criteria or keywords and select instances from CMDB. There are two types of nodes:

      • Static: Select an ECS under a specified CMDB application.
      • Dynamic: Select a node in the CMDB application to dynamically obtain ECSs under the node. This method also takes effect for instances added later.

  6. If needed, expand More to set the review configuration and execution policy by referring to Table 3.

    Table 3 More settings

    Category

    Parameter

    Description

    Review

    Review

    Specifies whether to enable manual review. By default, this function is disabled.

    You can only modify the review configuration by modifying the atomic service card in the tool market.

    Reviewer

    After manual review is enabled, you need to select a reviewer.

    Alternatively, create a topic and add a subscription on the SMN console to notify a reviewer.

    Execution Policy

    Batch Release

    Specifies whether to enable batch release. By default, this function is disabled.

    Instances for Each Batch

    Number of instances on which tasks can be executed at the same time.

    Interval

    Interval for executing each batch of tasks.

  7. Click Execute. On the task execution page that is displayed, view the task execution status.

    You can also click Save. The created task is displayed on the task management page for subsequent task execution or other operations.