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.
4 lines
56 B
Rust
4 lines
56 B
Rust
fn main() {
|
|
println!("cargo:rustc-link-lib=pam");
|
|
}
|