https://github.com/summertriangle-dev/pam_localauth
https://github.com/summertriangle-dev/pam_localauth
apple-watch macos pam-module
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/summertriangle-dev/pam_localauth
- Owner: summertriangle-dev
- Created: 2021-02-02T05:40:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-02T08:53:52.000Z (over 5 years ago)
- Last Synced: 2025-06-12T13:54:24.097Z (about 1 year ago)
- Topics: apple-watch, macos, pam-module
- Language: Swift
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pam_localauth
pam_localauth is a PAM module that allows the user to authenticate using a paired
Apple Watch (via LocalAuthentication, Mac OS X 10.15+).
## Install
- Copy libpam_localauth.dylib to a secure location.
(`/Library/pam_localauth/libpam_localauth.dylib` is recommended)
- Add the library to the PAM service file you want to use it with. Example:
/etc/pam.d/sudo
```
# sudo: auth account password session
auth sufficient pam_smartcard.so
auth sufficient /Library/pam_localauth/libpam_localauth.dylib
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
```