is there a way to change location of /etc/pam.d directory, or is it hardcoded into PAM? can't it be changed with some environment variable for specific client programs?
for example:
PAM_CONFIG_ROOT=/tmp/pam_test_configs pam_client_app
or it can't be done for some reason I don't see now?