48.4.2. PAM Configuration Files
/etc/pam.d/directory contains the PAM configuration files for each PAM-aware application. In earlier versions of PAM, the
/etc/pam.conffile was used, but this file is now deprecated and is only used if the
/etc/pam.d/directory does not exist.
22.214.171.124. PAM Service Files
Each PAM-aware application or service has a file in the
/etc/pam.d/directory. Each file in this directory has the same name as the service to which it controls access.
The PAM-aware program is responsible for defining its service name and installing its own PAM configuration file in the
/etc/pam.d/directory. For example, the
loginprogram defines its service name as
loginand installs the
/etc/pam.d/loginPAM configuration file.