Page 1 of 1

PAM Configuration

Posted: 2019/05/17 16:40:59
by wilbrijo06
Hello,

I'm in the process of self-educating myself to use Linux, and am currently learning about PAM. From what I understand, each PAM aware application or service gets its on configuration file in /etc/pam.d, and that file consists of a module interface type, a control flag, the module name & the module arguments. I found all the module names (pam_*.so) in the /usr/lib/security directory, but I haven't been able to find a succinct list of what each of those modules does, barring the random example I've found here and there on the internet (one example used "pam_listfile.so" and explained that module allows/denys services based on an arbitrary file). It seems like I'd need to know that to create a

I looked at the PAM man page and didn't find anything there. Is there documentation on the function of each of those "pam_*.so" files that I can read up on to understand what they do?

I'm sure this is a pretty noob question, but didn't know where else to go to find the answer. Thanks for whatever help you can offer!

Re: PAM Configuration

Posted: 2019/05/17 17:45:02
by TrevorH
First one I picked from the output of ls /usr/lib64/security was pam_selinux.so and man pam_selinux tells me all about it.

Re: PAM Configuration

Posted: 2019/05/17 20:09:24
by hunter86_bg
wilbrijo06 wrote:
2019/05/17 16:40:59
I found all the module names (pam_*.so) in the /usr/lib/security directory, but I haven't been able to find a succinct list of what each of those modules does, barring the random example I've found here and there on the internet (one example used "pam_listfile.so" and explained that module allows/denys services based on an arbitrary file).
You can check it here .

Re: PAM Configuration

Posted: 2019/05/17 20:11:16
by TrevorH
Or just run man pam_listfile and that way the doc should match the version we ship.

Re: PAM Configuration

Posted: 2019/05/18 11:26:40
by wilbrijo06
Got it. Thanks for the help!