ChocolateLoverRaj / pam-any

A PAM module that runs multiple other PAM modules in parallel, succeeding as long as one of them succeeds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PAM Any

A PAM module that runs multiple other PAM modules in parallel, succeeding as long as one of them succeeds.

Development

I created a VM to test stuff without messing up the distro I code in.

  • Create a Fedora VM (can probably be any distro)
  • Create a user named test
  • Enable SSH server
  • Enable root password
  • Enable root SSH
  • Setup password-less SSH login
  • Setup pam-random as a 2nd test module
  • Update the IP variable in test.sh
  • Run bash ./test.sh
  • Inside the VM install pamtester
  • Inside the VM run pamtester pam-any test authenticate

About

A PAM module that runs multiple other PAM modules in parallel, succeeding as long as one of them succeeds.

License:Apache License 2.0


Languages

Language:Rust 97.9%Language:Shell 2.1%