Red Hat Linux 9: Red Hat Linux Reference Guide | ||
---|---|---|
Prev | Chapter 14. Pluggable Authentication Modules (PAM) | Next |
The directory /etc/pam.d/ contains the PAM configuration files for each PAM-aware applications. In earlier versions of PAM, the file /etc/pam.conf was used, but this file is now deprecated and pam.conf is only read if the /etc/pam.d/ directory does not exist.
Each PAM-aware application or service has a file within the /etc/pam.d/ directory. Each of these files is named after the service for which it controls access.
It is up to the PAM-aware program to define its service name and install its PAM configuration file in the /etc/pam.d/ directory. For example, the login program defines its service name as /etc/pam.d/login.