Red Hat Training

A Red Hat training course is available for RHEL 8

7.3. 在 Web UI 中启用一次性密码

IdM Web UI 允许您配置硬件或软件设备来生成一次性密码。

仅在登录对话框中专用字段中的常规密码之后输入一次性密码。

只有管理员才能在用户设置中启用 OTP 身份验证。

先决条件

  • 管理特权

流程

  1. 使用您的用户名和密码登录到 IdM Web UI。
  2. 打开 Identity → Users → Active users 选项卡。

    A screenshot of the IdM Web UI displaying the "Active Users" page which is a sub-page of the Users submenu from the Identity tab.

  3. 单击您的用户名来打开用户设置。
  4. User authentication types 中,选择 Two factor authentication (password + OTP)
  5. 点击 Save

此时,在IdM 服务器上就启用了 OTP 身份验证。

现在,您或用户自己需要为用户帐户分配新的令牌 ID。