User management

Updated at:

In the Bastion Host web console, you can create local users, create or import RAM users, import AD/LDAP users, edit users, configure public keys, search for users, and delete users.

Create local user

Follow these steps to create a local user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management, and then click Create Local User.

  3. In the Create Local User dialog box, enter the following user information:

    • Mobile Number: Required. Enter a valid 11-digit mobile number.

    • Password: Required. The password must be 8 to 64 characters long and contain uppercase letters, lowercase letters, digits, and special characters (such as @, #, and $).

    • Email Address: Optional. If you enter an email address, it must be valid.

    • Full Name: Optional.

Manage RAM users

Follow these steps to manage RAM users:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management, and then click Create RAM User.

  3. On the RAM User Management page, you can perform the following operations:

    • Import a RAM user

      1. Click Import RAM User to import RAM users.

      2. In the Import Alibaba Cloud RAM User dialog box, select the RAM users to import and click Import RAM User. You can search for users by Logon Name in this dialog box before selecting them.

    • Create a RAM user

      1. Click Create RAM User to go to the user management page of Resource Access Management (RAM).

      2. On the RAM user management page, create a RAM user. For more information, see Create a RAM user.

    • Edit a RAM user

      1. Select the RAM user that you want to edit and click Edit in the Actions column. This action takes you to the user management page of Resource Access Management (RAM).

      2. On the RAM User Management page, modify the user's information. For more information, see Modify the basic information of a RAM user.

    • Remove a RAM user: Select the RAM user to remove and click Remove in the Actions column. This removes the user from the list of RAM users in Bastion Host.

      Note

      This operation does not affect the RAM user information in Resource Access Management (RAM).

    • Unlock a RAM user: Select the RAM user that you want to unlock and click Unlock in the Actions column to unlock the user.

      Note

      A RAM user is locked if they enter an incorrect password four times within one hour when logging on.

    • Refresh RAM user data: Click Refresh RAM User Data below the list to synchronize RAM user information from Resource Access Management (RAM) to Bastion Host.

Import RAM users

Follow these steps to import a RAM user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management, and then click Import RAM User.

  3. In the dialog box that appears, select the required RAM users and click Add to Bastionhost. To do this, in the Import RAM User dialog box, click the Not Imported tab, select the RAM users to import from the list (for example, ramuser1), and then click Add to Bastionhost. If you need to overwrite existing users with the same name, select the Overwrite users with the same name checkbox.

Import AD/LDAP users

Follow these steps to import an AD or LDAP user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management, and then click Import AD/LDAP User.

    Note

    You must first configure the AD or LDAP server on the Users > AD/LDAP Settings page.

  3. In the dialog box that appears, select the required users and click Add to Bastionhost. To do this, in the Import AD/LDAP User dialog box, switch to the Not Imported tab, select the users to import from the list, and then click Add to Bastionhost. If you need to overwrite existing users with the same name, select the Overwrite users with the same name checkbox.

Edit user

Follow these steps to edit a user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management. Find the local user that you want to edit and click Edit in the Actions column.

    Note

    You can edit only local users.

  3. In the Edit User dialog box, modify the user information and click OK.

Configure public key

Follow these steps to configure a public key for a user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management. Find the local user and click Configure Public Key in the Actions column.

    Note

    After you configure a public key for a user, the user can use a public-private key pair to log on to Bastion Host for SSH access.

  3. In the Configure Public Key dialog box, enter the public key information and click OK.

Search users

Follow these steps to search for a user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management. In the search box above the user list, enter a full name, mobile number, or email address, and then click Search. This performs a fuzzy search based on your input.

Delete users

Follow these steps to delete a user:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management. Select the checkbox for each user that you want to delete, and then click Delete below the user list.

    Note

    You can also select the checkbox at the top of the list to select all users on the current page, and then click Delete.

  3. In the confirmation dialog box that appears, click OK.

Enable or disable users

Follow these steps to enable or disable users:

  1. Log on to the Bastion Host web console.

  2. In the left-side navigation pane, choose Users > User Management. Select the checkbox for each user that you want to enable or disable, and then click Enable or Disable below the user list.