The problem I am trying to solve is that I want to know if a certain PAM config file is being used or not. The latest version of IBM MQ (V8) provides a PAM file /etc/pam.d/ibmmq. We're troubleshooting authtentication problems and I want to know if this file is being used or not.
I thought I should be able to use pam_echo for this but I misunderstood that module's purpose.
pam_echo will display the contents of the file specified to the user. This is not what I want I want to somehow log that a module is being called.