pam-anyauth
hook pam to authenticate users against anything
This project allows pam to authenticate users against anything. We have a sql database of users with hashed passwords that we want to use for an sftp server. pam-anyauth combined with pam configurations allow the sftp server to permit/deny based on current credentials in the database. There is room to add more types of authentication and improve the overall process.