Hacker News new | ask | show | jobs
by nigma1337 1330 days ago
I recently wrote my first PAM module, using pam-rs[1] so i could do it in rust.

It was a learning experience, a rather enjoyable one though. While going down the rabbit hole, I feel even deeper when my module kept halting in openssh, due to a bug[2] from 2018.

I didn't really feel the pain of debugging the author had, most likely just because my application was simple enough to be tested via log statements though.

[1] https://github.com/anowell/pam-rs [2] https://bugzilla.mindrot.org/show_bug.cgi?id=2876