Implements a C-ABI PAM shared library that registers a pam_set_data cleanup callback to detect auth failures and spawn/kill ahfail-display via a double-fork, without ever touching credentials.
12 lines
153 B
TOML
12 lines
153 B
TOML
[package]
|
|
name = "ahfail-pam"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "ahfail_pam"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|