pam_touchid

A PAM module for authentication with Touch ID

  • 所有者: hamzasood/pam_touchid
  • 平台:
  • 許可證: GNU General Public License v3.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

A PAM module for authentication with Touch ID.
alt

The module takes an optional parameter: "reason".
Its value will be shown in the dialog presented to the user.
If the argument is omitted, generic text is used.

Warning:
Do not procede unless you're 1,000,000% sure what you're doing.
If you're only 999,999% sure, then turn back now.

Installation

  1. Build the project
  2. Copy pam_touchid.so.2 to /usr/local/lib/pam/ and set:
    • Permissions: 444
    • Owner: root
    • Group: wheel

Configuring sudo to use it

  1. Open up/etc/pam.d/sudo in your favourite text editor
  2. Add auth sufficient pam_touchid.so reason="execute a command as another user" to the top of the file

The procedure is pretty much the same for any other process, but you'd edit a different config file and probably change the reason too.

If you get locked out of sudo

  1. Feel bad that you lied about being 1,000,000% sure what you're doing
  2. Enable the root user through system preferences and use su to put the config file back

主要指標

概覽
名稱與所有者hamzasood/pam_touchid
主編程語言Objective-C
編程語言Objective-C (語言數: 1)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2016-11-20 18:38:37
推送於2017-04-24 05:36:51
最后一次提交2016-11-20 22:24:22
發布數0
用户参与
星數439
關注者數30
派生數32
提交數3
已啟用問題?
問題數7
打開的問題數5
拉請求數0
打開的拉請求數2
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?