what is pam authentication
PAM is a framework that assists applications in performing what I'll call authentication-related activities. The core pieces of PAM are a library (libpam) and a collection of PAM modules, which are dynamically linked libraries (.so) files in the folder /lib/security.