I need to make vsftpd authenticate a user using the IP address it's making the request from (I have some stupid IP phones where you can't setup user/passwd to make them plug and play).
I figured the cleanest way to do it would be though PAM and since all the info lies in a mysql DB, well that sent me on the pam_mysql way.
I was wondering if the was a way to give the whole query and use the pam rhost to make it work.
Would this be to complicated to build in maybe as an option?
Thanks in advance for your help.
Log in to post a comment.