https://github.com/ojford/pam-credential-process
PAM module to set authentication token to output of arbitrary executable
https://github.com/ojford/pam-credential-process
authentication pam pam-authentication pam-module security
Last synced: about 1 year ago
JSON representation
PAM module to set authentication token to output of arbitrary executable
- Host: GitHub
- URL: https://github.com/ojford/pam-credential-process
- Owner: OJFord
- License: mit
- Created: 2021-05-13T21:59:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-14T19:14:06.000Z (about 5 years ago)
- Last Synced: 2025-02-08T23:28:37.426Z (over 1 year ago)
- Topics: authentication, pam, pam-authentication, pam-module, security
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pam_credential_process.so
Inspired somewhat by the `credential_process` option for AWS CLI, this is a PAM service module allowing you to authenticate via an arbitrary executable, setting the PAM auth token to its output.
## Installation
Install it at `/usr/lib/security/pam_credential_process.so`, or the equivalent location on your system.
## Usage
```
# In your PAM config, e.g. /etc/pam.d/system-login
auth optional pam_credential_process.so /my/secret/acquisition/program
```