Define a PAM service

If you define your own PAM service for the Informix® server instead of using one of the services that are already defined in the pam.conf file, you must include the auth and account functions.

Include the auth and account functions for the service.

On UNIX, add the following lines to the pam.conf file:

pam_service auth sufficient path_and_filename
pam_service account sufficient path_and_filename

where pam_service is the name of the PAM service and path_and_filename is the path and file name of your PAM file.

For example:

pam_service auth sufficient /opt/mycompany/lib/mypam.so
pam_service account sufficient /opt/mycompyny/lib/mypam.so

See the operating system documentation for the complete PAM configuration instructions.