LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   pam caching (https://www.linuxquestions.org/questions/linux-security-4/pam-caching-4175455498/)

dazdaz 03-25-2013 07:48 AM

pam caching
 
Is there any caching to PAM ? I am making PAM changes and finding that the existing configuration is used, and the new changes are not honoured/read.

Therefore I wondered if there was any caching mechanism to PAM on RHEL 6.3 ? I'm not aware of anything that exists...

Thanks

orgcandman 03-25-2013 11:44 AM

IIRC, for most applications, the pam modules are loaded once per instance of executable linked to pam. Therefore, if you don't reload your PAM-aware executable, you will get old behavior. Additionally, you may need to check that you are properly putting new binaries in the correct place (check your specific distribution's documentation on where PAM libraries belong) and that they have the correct permissions, etc. You may also need to modify your nss related configurations (and provide a nss compliant implementation) to allow your pam module to take advantage of whatever additional accounting/authentication mechanism you're planning to use (and that will come with its own set of nightmarish requirements).

What are you specifically trying to accomplish? Some additional accounting? Authentication?


All times are GMT -5. The time now is 03:52 PM.