Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultag/pam-piv
https://github.com/paultag/pam-piv
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/paultag/pam-piv
- Owner: paultag
- Created: 2019-05-22T20:23:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T18:13:00.000Z (almost 5 years ago)
- Last Synced: 2024-10-14T19:21:23.040Z (3 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Building the shim
```
$ go build -o pam_piv.so -buildmode=c-shared *.go
$ make
``````
sudo mkdir -p /etc/pam-piv
sudo cp config.yaml /etc/pam-piv/config.yaml
sudo cp pam_piv.so /lib/x86_64-linux-gnu/security/
sudo cp pam-config /usr/share/pam-configs/piv
```## Testing
```
LD_PRELOAD=libpam_wrapper.so \
PAM_WRAPPER=1 \
PAM_WRAPPER_SERVICE_DIR=/home/paultag/pam-test/ \
pamtester -v pamtester paultag authenticate
```