How do I reset the password for an Amazon WorkSpaces user?

3 分的閱讀內容
0

I need to reset the password for an Amazon WorkSpaces user. How can I do that?

Resolution

You can reset the password for most Amazon WorkSpaces users that reside in an AWS Directory Service for Microsoft Active Directory or Simple AD directory. For a list of exceptions, see Reset a user password.

To reset a password, use any of the following methods:

Reset a forgotten password using the Amazon WorkSpaces client

  1. From the Amazon WorkSpaces client log-in window, choose Forgot Password?
  2. Enter the user name, and then choose Recover Password.
  3. Choose Return to Login Page.
  4. When you receive the Password Reset Request email, choose the Reset Password hyperlink.
  5. Enter the new password, confirm the new password, and then choose Reset Password.
    If you receive a server error message when choosing Reset Password, confirm that the user account within your directory service has an email address attribute defined.

Note: If you don’t receive the Password Reset Request email after a few minutes, use one of the other password reset methods described below.

Change or reset a password while connected to the Amazon WorkSpaces client

If you are connected to a WorkSpace, follow these steps to change or reset the password, depending on your operating system.

Windows

  1. From the Amazon WorkSpaces client menu bar, choose View, and then choose Send Ctrl + Alt + Delete.
  2. Choose Change a password.
  3. Enter the old password, new password, and then confirm the new password.
  4. Choose the arrow next to the Confirm password field.
  5. Choose Ok.

Linux

  1. From the Linux workspace, open the terminal window.
  2. Enter the passwd command.
  3. When prompted for the Kerboros 5 password, enter your current password.
  4. Enter your new password, and then confirm the new password.

If the password update is successful, then you receive the message: "passwd: all authentication tokens updated successfully."

Reset a user password using the AWS Management Console, Windows PowerShell, or the AWS CLI

For instructions to reset a user password using the AWS Directory Service console, Windows PowerShell, or the AWS Command Line Interface (AWS CLI), see Reset a user password.

Important: To reset a user password using the AWS CLI, note the following:

  • Make sure that you install and configure the most recent version of the AWS CLI.
  • A password reset using the AWS CLI must be initiated by the root account user, or by an IAM user with the AWSDirectoryServiceFullAccess policy attached.

Reset a user password using Active Directory Administration Tools

You can launch an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then join the instance to your AWS Managed Microsoft AD. After you join the instance, use the instance as a directory management server.

Note: You must have directory administrator account credentials to follow this process.

  1. From the Amazon EC2 console, launch an EC2 Windows instance in the same Region as your directory service. Then, install the Active Directory Administration Tools. For instructions, see Set up Active Directory Administration Tools for Amazon WorkSpaces.
    Note: You can launch an EC2 Windows instance using an AWS Free Tier eligible Windows AMI.
  2. Open Active Directory Users and Computers.
  3. Expand your domain, expand the WorkSpaces organizational unit (OU), and then choose the Users folder.
  4. Identify the WorkSpaces user. Open the context (right-click) menu for the user, and then choose Reset Password.

Related information

reset-user-password

AWS 官方
AWS 官方已更新 2 年前