#pam #sys #ffi-bindings #linux #linux-pam

sys pam-sys

FFI wrappers for the Linux Pluggable Authentication Modules (PAM)

22 releases

new 1.0.0-alpha4 Jan 19, 2022
1.0.0-alpha3 Mar 28, 2021
1.0.0-alpha2 May 3, 2020
1.0.0-alpha1 Nov 12, 2019
0.0.4 Mar 29, 2015

#61 in Unix APIs

Download history 494/week @ 2021-10-01 375/week @ 2021-10-08 378/week @ 2021-10-15 515/week @ 2021-10-22 403/week @ 2021-10-29 528/week @ 2021-11-05 365/week @ 2021-11-12 438/week @ 2021-11-19 509/week @ 2021-11-26 513/week @ 2021-12-03 769/week @ 2021-12-10 382/week @ 2021-12-17 241/week @ 2021-12-24 646/week @ 2021-12-31 486/week @ 2022-01-07 499/week @ 2022-01-14

1,934 downloads per month
Used in 12 crates (2 directly)


52 lines

pam-sys - Rust FFI bindings to the Linux Pluggable Authentication Modules (PAM)

Crates.io Documentation Build Status Azure Build Status Cirrus License

This crate uses bindgen to generate the raw FFI definitions for PAM. For a rustified API consider using pam.

Supported Rust versions

The library is only continuously built against Rust stable, beta and nightly but as it does not use a lot of new language features it should probably compile on older versions as well. If you encounter problems building on older versions and a small fix can be applied to make the build succeed, consider opening a pull request.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.