PAM modules

PAM modules allow multiple authentication mechanisms to be used collectively or independently on a system.

A given PAM module must implement at least one of four module types. The module types are described as follows, along with the corresponding PAM SPIs that are required to conform to the module type.

Authentication Modules
Authenticate users and set, refresh, or destroy credentials. These modules identify user based on their authentication and credentials.
Authentication module functions:
Account Management Modules
Determine validity of the user account and subsequent access after identification from authentication module. Checks performed by these modules typically include account expiration and password restrictions.
Account management module function:
Session Management Modules
Initiate and terminate user sessions. Additionally, support for session auditing may be provided.
Session management module functions:
Password Management Modules
Perform password modification and related attribute management.
Password management module functions: