PHP PAM Authentication

Translation of the original in Catalan. Read it in: CatalàCastellano

Since designing an effective authentication system is not an easy task and there is always more than one person who is smarter than you. I have decided to find out how to implement an authentication system PAM through PHP.

As I imagined there is already more than one person who had thought about this before, so, even though the subject is still a bit green. There are already some references to learn about the subject.

The official page that I have found about the subject is:

http://www.math.ohio-state.edu/\~ccunning/pam\_auth.html

although at:

http://www.kernel.org/pub/linux/libs/pam/modules.html

there is also a lot of information about the available PAM modules, this information is a bit more general than the PHP one but it can be very useful to us for example so that the authentication PAM goes against a mySQL database or against a kerberos system, etc.