5.4 Linux User Management and the Pluggable Authentication Module

The pam_nam module can be dynamically loaded to provide the necessary functionality upon demand.

The following is an example of an entry in the configuration file for login:

auth    required    /lib/security/pam_nam.so

Specify the application requiring the authentication service in the first field. Specify the name of the service provided in the second field. In the third field, specify the control flag. In the fourth field, specify the name of the module providing the service.

The control flag can be of the following types:

The following options can be passed to the PAM module:

However, a different prompt is used if one of the following scenarios occur: