PAM Configuration

General support questions
Post Reply
wilbrijo06
Posts: 2
Joined: 2019/05/17 16:13:24

PAM Configuration

Post by wilbrijo06 » 2019/05/17 16:40:59

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!

User avatar
TrevorH
Forum Moderator
Posts: 26292
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: PAM Configuration

Post by TrevorH » 2019/05/17 17:45:02

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

hunter86_bg
Posts: 1858
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: PAM Configuration

Post by hunter86_bg » 2019/05/17 20:09:24

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 .

User avatar
TrevorH
Forum Moderator
Posts: 26292
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: PAM Configuration

Post by TrevorH » 2019/05/17 20:11:16

Or just run man pam_listfile and that way the doc should match the version we ship.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

wilbrijo06
Posts: 2
Joined: 2019/05/17 16:13:24

Re: PAM Configuration

Post by wilbrijo06 » 2019/05/18 11:26:40

Got it. Thanks for the help!

Post Reply