A test helper for pam configuration validation.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
William Brown f654bd94f0 Improvements
2022-11-16 11:02:04 +10:00
src Improvements 2022-11-16 11:02:04 +10:00
Cargo.toml Add basic pam tester 2022-11-14 14:01:44 +10:00
CODE_OF_CONDUCT.md Initial commit 2022-11-14 13:34:37 +10:00
LICENSE.md Initial commit 2022-11-14 13:34:37 +10:00
README.md readme 2022-11-14 14:03:39 +10:00

pam tester - a tool to help test pam

This allows you to "poke" at pam and it's various phases to test your authentication stacks are working as you expect.

# Wrong password
# pam_tester sudo william
Enter password:
2022-11-14T04:01:14.390159Z ERROR Authentication failed e=AUTH_ERR
2022-11-14T04:01:14.390247Z ERROR Session failed e=PERM_DENIED

# Right password
# pam_tester sudo william
Enter password:
2022-11-14T04:01:22.351713Z  INFO Successfully authenticated!
2022-11-14T04:01:22.358741Z  INFO Successfully opened session!