Properties Of A PAM Module A PAM module is a dynamic shared library that is linked into a running process by the PAM library (libpam.so.*). A PAM module needs to support at least 1 out of the 4 PAM management areas - authentication, account, password and session. The PAM module's processing is driven by the pam library. Thus, it has a set of different entry points, unlike a C program that only has one entry point - the 'main' function. The PAM module may access the user only via the application, using a conversation function.