AWS Directory Service
管理指南 (版本 1.0)
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

创建用户

注意

使用 Simple AD 时,如果在 Linux 实例上创建用户账户时使用了“Force user to change password at first login (强制用户在首次登录时更改密码)”选项,则该用户无法使用 kpasswd 首次更改其密码。要首次更改密码,域管理员必须使用 Active Directory 管理工具更新用户密码。

使用以下过程可创建其 EC2 实例加入到您的 Simple AD 目录的用户。

To create a user

  1. Open the Active Directory Users and Computers tool. There is a shortcut to this tool in the Administrative Tools folder.

    提示

    You can run the following from a command prompt on the instance to open the Active Directory Users and Computers tool box directly.

    %SystemRoot%\system32\dsa.msc
  2. In the directory tree, select an OU under your directory's NetBIOS name OU where you want to store your user (for example, Corp\Users). For more information about the OU structure used by directories in AWS, see 创建的内容.

  3. On the Action menu, click New, and then click User to open the new user wizard.

  4. On the first page of the wizard, enter the values for the following fields, and then click Next.

    • First name

    • Last name

    • User logon name

  5. On the second page of the wizard, type a temporary password in Password and Confirm Password. Make sure the User must change password at next logon option is selected. None of the other options should be selected. Click Next.

  6. On the third page of the wizard, verify that the new user information is correct and click Finish. The new user will appear in the Users folder.