PAM, which stands for Pluggable Authentication Modules, is a way of The login program defines the service type login, ftpd defines the service type ftp, and so .