上一主题: 测试 LDAP/TLS 连接下一主题: 测试 PAM 框架


测试密码同步

您可以使用位于 /etc/pam_CA_eta 文件夹的 test_sync 工具来验证本地帐户的密码更新已为配给服务器有效地传播。 示例命令行条目如下所示:

/etc/pam_CA_eta/test_sync <user> <password> [config=/path/to/config_file]

示例会话如下所示:

# /etc/pam_CA_eta/test_sync pam002 newpass1234
CA IdentityMinder password synchronization started.
:ETA_S_0245<MGU>, Global User 'pam002' and associated account passwords updated successfully: (accounts updated: 2, unchanged: 0, failures: 0)
CA IdentityMinder password synchronization succeeded.
/etc/pam_CA_eta/test_sync: succeeded
Trace file is /tmp/test_sync-trace.2244

正如命令输出显示,系统会生成跟踪文件,其中包含配置文件解析、与配给服务器的连接以及帐户更新的所有详细信息。

使用 verbose 模式(通过在配置文件中使用默认的 verbose yes 参数)时,此命令提供关于密码传播的通知消息和可能的错误消息。