pam
pam copied to clipboard
Safe Rust API to the Linux Pluggable Authentication Modules (PAM)
I have some problems with the `set_credendials` function, changing the password works fine but not the username. It seems like pam only ever calls the `echo_prompt` once. I think the...
PAM produces a segmentation fault when compiled using musl libc. Code: ```rust let mut auth = pam::Authenticator::with_password("").unwrap(); ``` This line produces a segmentation fault on Void GNU/Linux with musl. `uname...
New version
Hi! Please create a new release tag and push it to crates.io. The latest version at this time, [0.7.0](https://github.com/1wilkens/pam/releases/tag/v0.7.0), is ancient and bears little resemblance to git master, which has...
First of all thanks for making this library, it has made creating a Display Manager more enjoyable. As you know it's kinda difficult to get any good information on how...
Having the ability to authenticate against PAM is one thing. However you should also be able to implement your own pam modules using this API. Would be nice to have...
So…I'm kinda new to `pam` and I'm not entirely sure how some of this is supposed to work. When creating an `Authenticator` it takes a service name. Does this have...
Hi, I am using your pam-auth module, I have one problem, env vars set by a pam_module are not available in the process, for example in pam_systemd, pam_misc_setenv(... "XDG_SESSION_ID" ...)...
Assuming it's i8 will work on Intel, but not on ARM, PowerPC, and so on. https://doc.rust-lang.org/1.63.0/core/ffi/struct.CStr.html#examples https://doc.rust-lang.org/1.63.0/src/core/ffi/mod.rs.html#104
Hi, First of all, thanks for writing this crate, it was a big help in making progress with PAM authentication in my [project](https://github.com/TheDcoder/rsudoas)! However there's one flaw that I can't...
hello i tried building this last night so i can auto log into a plasmawayland session i have pam 0.8.0 and tried 0.7.0 as dependencies. and copy and pasted your...