Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 595 Bytes

managing-pairing.md

File metadata and controls

27 lines (18 loc) · 595 Bytes

配对管理

随 macOS 提供的 sc_auth 工具 (smart card authorization setup script,智能卡认证设置脚本) 可以执行大量的和智能卡相关的操作。

  1. 列出用户 foobar 的智能卡 hash:
❯ sc_auth list -u foobar
  1. 为用户 foobar 取消配对名为 bar 的智能卡:
❯ sc_auth unpair -u foobar -h bar
  1. 为用户 foobar 取消配对所有的智能卡:
❯ sc_auth unpair -u foobar
  1. 当插入新智能卡时不显示配对窗口:
❯ sc_auth pairing_ui -s disable